View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tricia Young Tricia Young is offline
external usenet poster
 
Posts: 13
Default Use VBA to Apply various Security Levels in Workbooks

I have a workbook with three worksheets. i would like to protect the
worksheets from editting. But it's complicated.

upon opening there should be an option to type in one of three passwords.
1st PW will open the workbook and only show Sheet 1 - with no restrictions
2nd PW will open the workbook and only show Sheet 2 - with no restrictions
3rd PW will open the workbook and only show Sheet 3 - with no restrictions
No PW will open the workbook and show all Sheets - with restrictions;
users can on view the info and use AutoFilter.

How can I do this with VBA code?

Thanks