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" <(E-Mail Removed)> wrote in message news:5CD6EA65-BAFA-4347-9F51-(E-Mail Removed)...
> 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