Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code for setting up the menu bar upon opening.
However, I keep getting an error missage saying missing project or library for "mymenubar". How do I solve this error? Public Sub Workbook_Open() Dim FSys As Object Dim resp1 As Integer Dim abook As Object Dim IsBookOpen As Boolean Application.ScreenUpdating = True Workbooks("Admin.xls").Activate Worksheets("Index").Activate MenuBars(xlWorksheet).Reset MenuBars(xlWorksheet).Activate Set MyMenuBar = CommandBars.ActiveMenuBar Set Ordersmenu = MyMenuBar.Controls.Add(Type:=msoControlPopup, Temporary:=True) Ordersmenu.Caption = "Orders" regards Craig Wilks *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excell error "Can't find Project or Library" Project VBAProject | Excel Worksheet Functions | |||
Project or library | New Users to Excel | |||
Missing library when running 98 project on 2003 | Excel Discussion (Misc queries) | |||
Reference Library - Missing Library in a lower version. | Excel Programming | |||
Missing Project or Library | Excel Programming |