Good afternoon everyone.
need help to make a macro to protect all worksheets of a workbook in excel2007.
someone help me??
Good afternoon everyone.
need help to make a macro to protect all worksheets of a workbook in excel2007.
someone help me??
Last edited by Birnen; 11-25-2010 at 01:02 PM.
Try this:
![]()
Please Login or Register to view this content.
Dom
"May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."
Use code tags when posting your VBA code: [code] Your code here [/code]
Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.
no...
is the code complet...
Yes apart from needing to go somewhere within a procedure:
![]()
Please Login or Register to view this content.
Dom
'ws' is just a variable name I gave to a worksheet object. The code will then just loop through all the worksheets in the active workbook and protect them all.
If this isn't what you require can you provide some more information.
Dom
Many thanks...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks