Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In order make the UI a little cleaner on a spreadsheet with a lot of data, I
have added grouped columns and rows for the user to easily collapse the data and re-expand. This sheet is also needs to be protected from data entry except in the few cells that are unlocked. If I turn on the sheet protection and click on a group to expand or collapse, I get the error "You cannot us this command on a protected sheet......" Does anyone know how I may be able to trap this event in VBA and then write some code to determine the type of command that was tried? If I could determine this, then I could selectively unprotect the sheet and group or ungroup and then protect the sheet and return control to the user. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Groups and Protected Worksheets - know if protected | Excel Discussion (Misc queries) | |||
Expanding and Collapsing Groups within a Protected Workbook | Excel Worksheet Functions | |||
Expand and Collaps Groups while Protected | Excel Worksheet Functions | |||
how can I allow users to open groups in a protected worksheet? | Excel Discussion (Misc queries) | |||
I Can Not Use Data Groups In Protected Sheets? | Excel Programming |