New at VB. Need to delete Insert Worksheet from file menu at open and reset
at close. I got this code from MS site. Doesn't reset at close unless I hit
the F5 key.
Sub menuItem_Delete()
Dim myCmd As Object
Set myCmd = CommandBars("Worksheet menu bar").Controls("Insert")
myCmd.Controls("Worksheet").Delete
End Sub
Sub MenuBar_Restore()
CommandBars("Insert").Reset
End Sub
Any help will be appreciated much.
Bookmarks