Hi Rajesh,
You're welcome.
Regards - Dave.
> Date: Thu, 9 Dec 2010 20:23:05 +0530
> Subject: Re: $$Excel-Macros$$ how to protect & unprotect the sheet with same
> button
> From: rajeshkainikk...@gmail.com
> To: excel-macros@googlegroups.com
>
> Hi Dave
>
&g
ards - Dave.
>
>> Date: Wed, 8 Dec 2010 20:49:58 +0530
>> Subject: $$Excel-Macros$$ how to protect & unprotect the sheet with same
>> button
>> From: rajeshkainikk...@gmail.com
>> To: excel-macros@googlegroups.com
>>
>> Hi Experts
>>
>> i
Hi,
Try this.
Sub Macro6()
If ActiveSheet.ProtectContents = True Then ActiveSheet.Unprotect Else
ActiveSheet.Protect
End Sub
Regards - Dave.
> Date: Wed, 8 Dec 2010 20:49:58 +0530
> Subject: $$Excel-Macros$$ how to protect & unprotect the sheet with same
> button
> Fro
Hi Experts
i am want to give an edit button in my worksheet, for protecting &
unprotecting the sheet how can i use it. I try this code but not
working,pls correct it
Sub Macro6()
If ActiveSheet.Protect = True Then
ActiveSheet.Unprotect
Else
If ActiveSheet.Protect = False Then
ActiveSheet.Protect