ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   hide ,unhide columns on protected worksheet (https://www.excelbanter.com/excel-programming/380970-hide-unhide-columns-protected-worksheet.html)

Kamlesh

hide ,unhide columns on protected worksheet
 
hide or unhide rows and columns on protected worksheet,workbook using option
button or commnad button

Dave Peterson

hide ,unhide columns on protected worksheet
 
Add a couple of lines to your routines.

'At the top
activesheet.unprotect password:="hi"

'do the work

'at the bottom
activesheet.protect password:="hi"



kamlesh wrote:

hide or unhide rows and columns on protected worksheet,workbook using option
button or commnad button


--

Dave Peterson


All times are GMT +1. The time now is 06:25 PM.

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