ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Hide toolbars/Workbook elements (https://www.excelbanter.com/excel-discussion-misc-queries/214026-hide-toolbars-workbook-elements.html)

Jason W

Hide toolbars/Workbook elements
 
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.

Ron de Bruin

Hide toolbars/Workbook elements
 
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


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Jason W" wrote in message ...
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.


Jason W

Hide toolbars/Workbook elements
 
Awesome! Just what I needed. Thanks a lot for the reply.

"Ron de Bruin" wrote:

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


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Jason W" wrote in message ...
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.




All times are GMT +1. The time now is 08:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com