read only worksheet wanted.

S

Susan

I see that it is possible to make an excel spreadsheet
read only. Is it possible to do this (make a workbook or
a worksheet read only) via a macro statement?
 
C

CLR

Hi Susan..........

I just recorded one and it came out like this..........

Sub readonly()
ActiveSheet.Protect DrawingObjects:=True, Contents:=True,
Scenarios:=True
End Sub

Vaya con Dios,
Chuck, CABGx3
 

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