ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Protect Sheet - But have button to add more lines (https://www.excelbanter.com/excel-worksheet-functions/252129-protect-sheet-but-have-button-add-more-lines.html)

LRay67

Protect Sheet - But have button to add more lines
 
When I initially protect the worksheet it will not allow the users to edit
objects or scenarios - this works great, but once I click on the button to
add more lines the protection is gone and the user can click on any object or
scenario and modify.

Can I eliminate this from happening

Thanks in advance

Linda

Otto Moehrbach[_2_]

Protect Sheet - But have button to add more lines
 
Linda
What button? You apparently have some code (macro) linked to that button
that unprotects the sheet and adds rows, from what you say. That same code
can be written to reapply the protection. Post that code. HTH Otto

"LRay67" wrote in message
...
When I initially protect the worksheet it will not allow the users to edit
objects or scenarios - this works great, but once I click on the button to
add more lines the protection is gone and the user can click on any object
or
scenario and modify.

Can I eliminate this from happening

Thanks in advance

Linda




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

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