Modify Protection Macro to allow formatting?

V

Visakha

Option Explicit
Sub UnprotectAll()
dim wks as worksheet
for each wks in activeworkbook.worksheets
wks.unprotect password:="topsecret"
next wks
End Sub
Sub ProtectAll()
dim wks as worksheet
for each wks in activeworkbook.worksheets
wks.protect password:="topsecret"
next wks
End Sub

How do I modify to allow users to format cells?
 
G

Gord Dibben

Only been 4 minutes since your first post.

Have a little patience.

See reply at that post.


Gord Dibben MS Excel MVP
 
V

Visakha

Apologies! I have had problems in the past posting and thought that the post
got lost. Thanks!
 

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