View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Sarah[_4_] Sarah[_4_] is offline
external usenet poster
 
Posts: 11
Default Making cells readonly

When I try the code you had in your post, I get an error: "Expected statement"

Here is the line of code I am using
sheet1.Protect DrawingObjects:=True, Contents:=True, Scenarios:=Tru

Is this not correct