Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is there a way to create a macro so that if one clicks
on "tools" it will close the spreadsheet? Or is there a way to remove toolbar functions? Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You can disable a menu bar item
Sub a() 'disable menubar option Application.CommandBars(1).FindControl(, 30007).Enabled = False End Sub Sub b() Application.CommandBars(1).FindControl(, 30007).Enabled = True End Sub -- Regards Ron de Bruin http://www.rondebruin.nl "Ronbo" wrote in message ... Is there a way to create a macro so that if one clicks on "tools" it will close the spreadsheet? Or is there a way to remove toolbar functions? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Close Excel with a Macro | Excel Discussion (Misc queries) | |||
run macro on workbook close | Excel Discussion (Misc queries) | |||
Macro Upon Opening Then Close | Excel Discussion (Misc queries) | |||
Macro to close excel | Excel Discussion (Misc queries) | |||
run macro on close & open | Excel Programming |