Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Disable Add/Delete/Move Worksheets

Hi

I'm looking for an easy way of being able to prevent a user from being
able to manually add/delete or move worksheets in an excel workbook.
I'm thinking that the best way of doing this is to use the
workbook_activate and workbook_deactivate event procedures to initiate
code where these options are removed from the 'Edit' and 'Insert'
dropdown menus in the main menu and also the menu that appears when
you right-click a worksheet's name.

However, do I have to complete remove the items from the menus?, or
can I simply write some code to make them 'disabled' (e.g faded
writting).

Do I have to refer spefically to the menus mentioned above or can I
write code that disables the add/delete and move options.

Any help appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Disable Add/Delete/Move Worksheets

Protect your workbook jamiee

ToolsProtectionProtect workbook


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"jamiee" wrote in message om...
Hi

I'm looking for an easy way of being able to prevent a user from being
able to manually add/delete or move worksheets in an excel workbook.
I'm thinking that the best way of doing this is to use the
workbook_activate and workbook_deactivate event procedures to initiate
code where these options are removed from the 'Edit' and 'Insert'
dropdown menus in the main menu and also the menu that appears when
you right-click a worksheet's name.

However, do I have to complete remove the items from the menus?, or
can I simply write some code to make them 'disabled' (e.g faded
writting).

Do I have to refer spefically to the menus mentioned above or can I
write code that disables the add/delete and move options.

Any help appreciated.



Reply
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
can I disable the delete command for a file Dr. Darrell Excel Discussion (Misc queries) 5 March 1st 10 06:25 PM
How do I disable or delete an Add-In dhstein Excel Discussion (Misc queries) 2 April 13th 09 02:10 AM
Disable the Delete Key CarolK1968 Excel Discussion (Misc queries) 3 January 30th 08 07:20 PM
Disable Delete Kevin Excel Discussion (Misc queries) 0 July 29th 07 02:58 PM
Confirm Delete Message Disable RiosPapa New Users to Excel 2 October 7th 05 09:02 PM


All times are GMT +1. The time now is 05:40 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"