You have to do a sheet at a time.
--
Regards,
Tom Ogilvy
"Simon Lloyd " wrote in message
...
Does anyone know if there is a way of protecting/unprotecting a group of
sheets in VBA? my current code selects all sheets when a cell is
selected in a certain range, in XL XP the protect unprotect features
work fine, but i'm trying to use the workbook on a machine that has XL
97 and this is where it falls down as it wont use the unprotect
features of XP.
Any ideas????
Simon
---
Message posted from http://www.ExcelForum.com/