Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I create custom menus and toolbars in Excel 97?

create Custom Excel menus toolbars
0
Posted

How do I create custom menus and toolbars in Excel 97?

0

In Excel 97, MenuBars and Toolbars are both part of the new CommandBars object model. The VBA code required to create custom menus and toolbars is very similar, enough so that it is possible to create one table-driven solution that will build both toolbars and menu bars at the same time (see the Baarns Developer JumpStart for more details). The following code sample shows how to create a simple custom menu bar using the CommandBars object model. In order to run this code, you must set a reference in the Visual Basic Editor (VBE) to the Microsoft Office 8.0 object library (Choose Tools/References from the VBE menu and put a check mark beside this name).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123