Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
New to VB. Want to remove the Insert Worksheet option on open and Reset at
close. Using this code: Module 1: Sub menuItem_Delete() Dim myCmd As Object Set myCmd = CommandBars("Worksheet menu bar").Controls("Insert") myCmd.Controls("Worksheet").Delete End Sub Module 2: Sub MenuBar_Restore() CommandBars("Insert").Reset End Sub Can't get Module 2 to work on close. Any help is greatly appreciated. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Reset button code for Radio Buttons | Excel Discussion (Misc queries) | |||
Delete Insert Worksheet on Open/Reset on Close | Excel Programming | |||
Master reset code bug - stumped again | Excel Programming | |||
Master reset code -stumped | Excel Programming | |||
How do I reset the LastUsed cell reference from code. | Excel Programming |