i cant turn protection off as first step of macro in order to move some things around, and then turn it back on at the end of the macro. can it be done?
i cant turn protection off as first step of macro in order to move some things around, and then turn it back on at the end of the macro. can it be done?
Hi,
Yes, it can be done ...
![]()
ActiveSheet.Protect password:="mmacw" ''''' your code ActiveSheet.Unprotect password:="mmacw"
Last edited by Carim; 02-13-2007 at 04:41 PM.
Hi,
In order to protect your code ...
Alt F11
In the project window (left)
Highlight VBAProject(YourWorkbookName)
Right Click
Select VBAProject Properties
Protection ...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks