Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Ribbon and toolbar, program control
I need to hide/redisplay (turn off or on) Excel's ribbon and quick access
toolbar from within a macro. This was easy enough in the older Excels but I can't figure it out in Excel 2007. If I turn them off and on directly while recording, all I get is a blank maco. Any help out there? Thanks! --Ken |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Ribbon and toolbar, program control
toggle with Ctrl + F1
On Oct 23, 7:08*am, "Ken" wrote: I need to hide/redisplay (turn off or on) Excel's ribbon and quick access toolbar from within a macro. This was easy enough in the older Excels but I can't figure it out in Excel 2007. *If I turn them off and on directly while recording, all I get is a blank maco. *Any help out there? *Thanks! --Ken |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Ribbon and toolbar, program control
Hi Ken
If it is for the whole ribbon use Sub HideRibbon() Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" End Sub Sub ShowRibbon() Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)" End Sub See also this page http://www.rondebruin.nl/hidevisible.htm Or on MSDN http://msdn.microsoft.com/en-us/libr...ffice.11).aspx And part 2 http://msdn.microsoft.com/en-us/libr...ffice.11).aspx -- Regards Ron de Bruin http://www.rondebruin.nl/tips.htm "Ken" wrote in message ... I need to hide/redisplay (turn off or on) Excel's ribbon and quick access toolbar from within a macro. This was easy enough in the older Excels but I can't figure it out in Excel 2007. If I turn them off and on directly while recording, all I get is a blank maco. Any help out there? Thanks! --Ken |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I get defaullt toolbar or ribbon in MS Office 2007? | Excel Discussion (Misc queries) | |||
Expand/collapse toolbar ribbon | Excel Programming | |||
Expand/collapse toolbar ribbon | Excel Programming | |||
Modifying XLA to show toolbar in XL 2003 and ribbon tab in XL 2007 | Excel Programming | |||
toolbar/ribbon hide/show macro | Excel Programming |