ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Inserting a row in excel 2000 although the worksheet is protected (https://www.excelbanter.com/excel-programming/395381-inserting-row-excel-2000-although-worksheet-protected.html)

bartman1980

Inserting a row in excel 2000 although the worksheet is protected
 
Does somebody know if I can Inserting a row in excel 2000 although the
worksheet is protected?


Tom Ogilvy

Inserting a row in excel 2000 although the worksheet is protected
 
Yes
1) unprotect the sheet in your code, insert the row, protect the sheet
2) use the UserInterfaceOnly property of the protect method which allows
code to make changes to a protected sheet.

--
Regards,
Tom Ogilvy


"bartman1980" wrote:

Does somebody know if I can Inserting a row in excel 2000 although the
worksheet is protected?




All times are GMT +1. The time now is 11:57 PM.

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