Disable Add/Delete/Move Worksheets

J

jamiee

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top