Thread
:
Protecting Selected Sheets
View Single Post
#
3
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
Protecting Selected Sheets
use a loop something like
for each ws in worksheets
if ws.name <"sheet1" then ws.protect.password="joe"
next
--
Don Guillett
SalesAid Software
"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
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett