Hi,
Is there code available that will hide the Tools Menu within excel?
Thank you in advance,
JP
Hi,
Is there code available that will hide the Tools Menu within excel?
Thank you in advance,
JP
Last edited by jpruffle; 09-03-2009 at 08:37 AM.
Hi,
Try this - it's from memory, so no promises!
![]()
Please Login or Register to view this content.
Rule 1: Never merge cells
Rule 2: See rule 1
"Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".
Thank you for the reply. I am still new to VBA how do I call this line of code?
Good afternoon jpruffle
You need to make it part of a routine, such as :
You can run it by going to Tools > Macro > Macros, select test and click Run.![]()
Please Login or Register to view this content.
You will have to make an alternate way of calling it after you remove your Tools menu though.
To reinstate your Tools menu change the word False to True.
You could replace the main line with this line to ghost the Tools menu out instead of hiding it outright :
HTH![]()
Please Login or Register to view this content.
DominicB
Please familiarise yourself with the rules before posting. You can find them here.
Being new to VBA here's a warning. You must take extreme care when removing toolbars and generally changing user settings that you restore them exactly after your code has fiished.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
That's been of great help. Thank you very much.
JP
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks