How to use Automation to modify the Office menu (180625)
The information in this article applies to:
- Microsoft Excel 2000
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
- The Microsoft Foundation Classes (MFC)
- Microsoft Office XP Developer
- Microsoft Office 2000 Developer
- Microsoft Office 97 for Windows
- Microsoft Excel 2002
- Microsoft Excel 97 for Windows
This article was previously published under Q180625 SUMMARY
This article discusses an approach to using the Microsoft Foundation Class
(MFC) Library installed with Microsoft Visual C++ versions 5.0 and 6.0 to
manage and modify the menu bar of member applications of Microsoft Office.
Applications that are members of Microsoft Office share a common menu
system. Office applications include Microsoft Word , Microsoft Excel, Microsoft Access, Microsoft PowerPoint, and Microsoft Outlook.
Each application needs a customized menu to fit its functionality and
features. Each member loads its own menu from the components that are
available to it from the Office "Command Bars" collection.
This article demonstrates many elements of the Office CommandBars object
model; it discusses the properties and methods of CommandBars, and
illustrates sample modifications. This specific demonstration uses
Microsoft Excel.
REFERENCESFor additional information about the Automation of Office applications, click the article number below
to view the article in the Microsoft Knowledge Base:
222101 How To Find and Use Office Object Model Documentation
Modification Type: | Minor | Last Reviewed: | 2/22/2005 |
---|
Keywords: | kbAutomation kbhowto kbinterop KB180625 kbAudDeveloper |
---|
|