View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Ron de Bruin Ron de Bruin is offline
external usenet poster
 
Posts: 11,123
Default Disabling Ribbon in '07

Hi Risky

You can also do it without code (with RibbonX)

See
http://www.rondebruin.nl/ribbon.htm

Try one of the dictator examples in section 2

--

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


"Risky Dave" wrote in message ...
Hi,

I have a piece of code that disables the ribbon under Vista in Office '07:

Private Sub Workbook_Open()
Application.ExecuteExcel4Macro "SHOW.TOOLBAR(""Ribbon"",False)" '
disables user ribbon functionality
<do other stuff here
end sub()

This works as intended but it also turns off the ribbon in any other
spreadsheets that are open at the same time. Is it possible to turn off the
ribbon only in my spreadsheet?

TIA

Dave