Hi,
I am trying to create a new Command Bar object using VBA in Excel 2000. I use the following line of code:
Set myToolBar = CommandBars.Add("Custom",msoBarTop)
When I run the code I get a runtime 5 - invalid procedure call or argument error. Would appreciate any help that anyone has in overcoming this problem.
Thanks
ABH
I am trying to create a new Command Bar object using VBA in Excel 2000. I use the following line of code:
Set myToolBar = CommandBars.Add("Custom",msoBarTop)
When I run the code I get a runtime 5 - invalid procedure call or argument error. Would appreciate any help that anyone has in overcoming this problem.
Thanks
ABH