ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Help with worksheet protection (https://www.excelbanter.com/excel-programming/381283-re-help-worksheet-protection.html)

John Bundy

Help with worksheet protection
 
These should cover you

ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _
True, AllowFormattingCells:=True

--
--
-John
Please rate when your question is answered to help us and others know what
is helpful.

"C_Ascheman" wrote in message
...
I know that to Select Unlocked Cells I use this code:

ActiveSheet.EnableSelection = xlNoSelection

If I want to Edit Objects, Select Locked Cells, and Format Cells when I
enable the worksheet protection then what do I need to do this. I have
tried
searching through the Excel VBA help files, and on here. I have not found
what I need. I will continue looking, but would appreciate it if someone
could help me with what I am looking for.

Thanks,
C_Ascheman





All times are GMT +1. The time now is 02:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com