Hide toolbars/Workbook elements

J

Jason W

How can I make it so if anyone opens a particular workbook all they will see
is the spreadsheet and none of the toolbars, tabs, etc. Everytime I try to
do it I end up hiding the elements on anything in Excel I open, which is the
exact opposite of what I want.
 
R

Ron de Bruin

Hi Jason

Start here
http://www.rondebruin.nl/menuid.htm

Run the code in this two events in the Thisworkbook module

Private Sub Workbook_Activate()
'Your code to change Enabled to False
'Or the name of your macro
End Sub

Private Sub Workbook_Deactivate()
'Your code to change Enabled to True
'Or the name of your macro
End Sub
 

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