View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Chip Pearson Chip Pearson is offline
external usenet poster
 
Posts: 7,247
Default Protecting Selected Sheets


Nick,


Worksheets(2).Protect Password:="whatever"
Worksheets(3).Protect Password:="whatever"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Nick S"
wrote in message
...

I have three sheets Sheet1, 2 & 3. I want to create a script
that will
password protect sheets 2 & 3 only.

Any help will be greatly appreciated.

Nick.


--
Nick S
------------------------------------------------------------------------
Nick S's Profile:
http://www.excelforum.com/member.php...o&userid=16512
View this thread:
http://www.excelforum.com/showthread...hreadid=527642