98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel VBA Training and help » microsoft+excel+training - How do you automatically prtotect multiple worksheets
microsoft+excel+training - How do you automatically prtotect multiple worksheets
Resolved · Low Priority · Version Standard
Ryan has attended:
Excel VBA Intro Intermediate course
How do you automatically prtotect multiple worksheets
Is it possible to automatically protect and unprotect multiple worksheets using a macro? Is it also possible to hide and unhide multiple worksheets using a macro?
Thanks
RE: How do you automatically prtotect multiple worksheets
Hi Ryan. The simplest way to generate the code for this is to record a macro and then carry out the tasks. You can protect the current worksheet by accessing the ActiveSheet.Protect object and sheets can be similarly hidden simply by specifying which ones you want. Create macros to protect/unprotect, hide/unhide, assign them to icons on your toolbar and you're away!
Hope this helps,
Anthony
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Adding up time greater than 24 hoursWhen you add up time if it exceeds 24 hours i.e 27 hours appears as 03:00. Go to Format / Cells / Number / Custom. The format is hh:mm but if change it to [hh]:mm it will add up to the correct amount of hours. |