LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 275
Default protecting worksheets

Hi All

On my sheet 'Data' I have a data validation drop down menu that contains 7
'options' for the user to pick. Each option is linked to a seperate marco and
is run when the option is chosen .

What I would like is some code that will protect the following sheet names
when the workbook is first opened..

Data
Sheet 5


Then each time an option is chosen from my validation list on sheet 'data' I
want both the above sheets to be unprotected, and finally when the macro is
run and complete then both sheets to be protected again. Oh and when the
workbook is closed then unprotect the sheets once more.

Any help with code and exactly where to place it so that it works would be
very grateful

thanks
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Protecting Worksheets Pistols14 Excel Discussion (Misc queries) 7 November 27th 07 10:14 AM
Protecting worksheets Bryan Potter Excel Discussion (Misc queries) 3 March 9th 07 02:26 PM
Protecting Worksheets Kaitlin.uk Excel Discussion (Misc queries) 1 January 18th 07 02:21 PM
protecting worksheets David Harrison Excel Discussion (Misc queries) 3 December 17th 06 09:28 PM
Protecting Worksheets saturnin02 Excel Discussion (Misc queries) 9 January 23rd 05 06:10 PM


All times are GMT +1. The time now is 10:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"