hide ,unhide columns on protected worksheet

K

kamlesh

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

Dave Peterson

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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top