VBA Code and Protection Sheet
unlock the worksheet before running the code and lock it back up when
you are done...
Activesheet.Unprotect "<password"
'code here
Activesheet.Protect "<password"
amirstal wrote:
Does Excel have a problem running a VBA code when the worksheet is
protected? If yes, is there a way to overcome it?
Thanks.
|