$$Excel-Macros$$ Protect cells if it have data

2011-06-14 Thread Rajesh K R
Hi Experts , Pls check the attached file .In it I have to protect the cells in columns "C" to "AG" if it have any data, but the other columns for entering name or serial number need not want to protect how can I solve it. Regards Rajesh Kainikkara -- ---

Re: $$Excel-Macros$$ Protect cells if it have data

2011-06-14 Thread ashish koul
try this Sub Macro1() ActiveSheet.Unprotect Password:="ashish" Cells.Select Selection.Locked = False Columns("C:AG").Locked = True ActiveSheet.Protect Password:="ashish" End Sub On Tue, Jun 14, 2011 at 8:02 PM, Rajesh K R wrote: > Hi Experts , > > Pls check the attached file .In it

RE: $$Excel-Macros$$ Protect cells if it have data

2011-06-14 Thread hariharan.tharagan
-macros Subject: $$Excel-Macros$$ Protect cells if it have data Hi Experts , Pls check the attached file .In it I have to protect the cells in columns "C" to "AG" if it have any data, but the other columns for entering name or serial number need not want to protect how can I solve

$$Excel-Macros$$ Protect cells if it have data(re post)

2011-06-15 Thread Rajesh K R
Hi Experts, I already posted this query, but i think my elaboration was not good. Now I made the necessary changes in the sample file attached. pls check it once more and tell me how to solve it. Regards Rajesh Kainikkara -- -

RE: $$Excel-Macros$$ Protect cells if it have data(re post)

2011-06-15 Thread hariharan.tharagan
2011 10:29 AM To: excel-macros Subject: $$Excel-Macros$$ Protect cells if it have data(re post) Hi Experts, I already posted this query, but i think my elaboration was not good. Now I made the necessary changes in the sample file attached. pls check it once more and tell me how to solve it. Re