How to Use a Toolbar Button to Open a File Indirectly (142585)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
This article was previously published under Q142585 SUMMARY
In Microsoft Excel, you can indirectly associate a workbook with a custom
button in another workbook by assigning a macro in the associated workbook
to the button.
For example, if you have a workbook named "My Workbook" that contains a
button, you can indirectly associate a second workbook called "Main
Workbook" with that button by assigning a Microsoft Visual Basic for
Applications module in "Main Workbook" to the button. When you click the
button in "My Workbook," the second workbook, "Main Workbook," is opened
automatically.
REFERENCESMicrosoft Excel 97
For more information about customizing toolbars, click the Office
Assistant, type customizing toolbars, click Search, and then click to
view the appropriate topic.
NOTE: If the Assistant is hidden, click the Office Assistant button on
the Standard toolbar. If Microsoft Excel Help is not installed on your
computer, please see the following article in the Microsoft Knowledge
Base:
120802 Office: How to Add/Remove a Single Office Program or Component
Microsoft Excel 7.0 for Windows 95
For more information about customizing toolbars, click Answer Wizard on
the Help menu, and type the following on the search line:
How do I create a custom toolbar?
Click Search, and then double-click the "Create a custom toolbar" topic.
Microsoft Excel version 5.0
"Visual Basic User's Guide," version 5.0, Chapter 34, "Customizing Your
Workspace"
Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB142585 |
---|
|