Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Minimize the ribbon in Excel 2007 using code

I would like to be able to minimize the ribbon using vba in Excel 2007 and
then return the ribbon before closing the application. Any help would be
appreciated. Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Minimize the ribbon in Excel 2007 using code

Hi Maths1

One option is this (only VBA)

Sub HideRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)"
End Sub


Sub ShowRibbon()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",True)"
End Sub

Another good option is to do it with RibbonX
If you want that post back

--

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




"Maths1" wrote in message ...
I would like to be able to minimize the ribbon using vba in Excel 2007 and
then return the ribbon before closing the application. Any help would be
appreciated. Thank you!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ribbon in Excel 2007 [email protected] Excel Programming 2 June 4th 09 05:52 PM
Minimize 2007 ribbon via VBA? Charlotte E Excel Programming 3 February 22nd 09 05:47 AM
Minimize Ribbon Abdul[_2_] Excel Programming 0 May 7th 08 08:03 AM
Excel 2007 Minimize issue Admviper Excel Discussion (Misc queries) 0 February 22nd 08 04:10 PM
How can I add the OneNote 2007 icon to the ribbon in Excel 2007? Todd Excel Discussion (Misc queries) 6 February 14th 08 11:22 PM


All times are GMT +1. The time now is 07:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"