Protecting Workbook Data

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I let other users view and print a whole workbook but not make any changes to the workbook? I have been successful applying this to one sheet but have been unsuccessful at applying it to an entire workbook.
 
You'd have to apply sheet protection to each sheet individually. A macro
can make that easier:

Sub a()
Dim WS As Worksheet
For Each WS In Worksheets
WS.Protect
Next
End Sub
 

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

Back
Top