Hi,
I have developed an application in Excel XP which causes several errors when run on an earlier version of Excel.
The first error occurs in the auto_run macro where I attempt to create a button with the following code:
Set bb = Application.CommandBars(1).Controls.Add(msoControlButton)
bb.Style = msoButtonIconAndCaption
bb.Caption = "Inputs &Wizard"
bb.FaceId = 651
bb.OnAction = "ShowMainForm"
This seems to work fine on XP but not 2000 - any thoughts.
Chris
I have developed an application in Excel XP which causes several errors when run on an earlier version of Excel.
The first error occurs in the auto_run macro where I attempt to create a button with the following code:
Set bb = Application.CommandBars(1).Controls.Add(msoControlButton)
bb.Style = msoButtonIconAndCaption
bb.Caption = "Inputs &Wizard"
bb.FaceId = 651
bb.OnAction = "ShowMainForm"
This seems to work fine on XP but not 2000 - any thoughts.
Chris