P
p
I created my customized Excel Toolbar in Excel 97 using
the following code
'This creates the toolbar for filling the survey
Public Sub CreateToolbar()
Dim oToolbar As CommandBar
Dim oButton As CommandBarControl
Set oToolbar = Application.CommandBars.Add
(MAIN_TOOLBAR_NAME, , , True)
oToolbar.Visible = True
'puts the toolbar at the top of the screen
oToolbar.position = msoBarTop
When I port it to Excel 98 some of the buttons work,
however, when I click on one of the buttons, I get a run-
time error of '32809' - Application-defined or object-
defined error;
1) Does this mean that the toolbar is an Active X control
and hence, not supported in Excel 98?
2) Does 98 have the ability to create toolbar buttons like
in 97 or do we have to use existing macro buttons (with
the option to change the button image with different
icons)?
Thanx in advance.
the following code
'This creates the toolbar for filling the survey
Public Sub CreateToolbar()
Dim oToolbar As CommandBar
Dim oButton As CommandBarControl
Set oToolbar = Application.CommandBars.Add
(MAIN_TOOLBAR_NAME, , , True)
oToolbar.Visible = True
'puts the toolbar at the top of the screen
oToolbar.position = msoBarTop
When I port it to Excel 98 some of the buttons work,
however, when I click on one of the buttons, I get a run-
time error of '32809' - Application-defined or object-
defined error;
1) Does this mean that the toolbar is an Active X control
and hence, not supported in Excel 98?
2) Does 98 have the ability to create toolbar buttons like
in 97 or do we have to use existing macro buttons (with
the option to change the button image with different
icons)?
Thanx in advance.