Article ID: 142585 - Last Review: October 10, 2006 - Revision: 1.5 How to Use a Toolbar Button to Open a File IndirectlyThis article was previously published under Q142585 On This PageSUMMARY
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. MORE INFORMATIONMicrosoft Excel 5.0 and 7.0To associate a workbook with a custom button, do the following:
Microsoft Excel 97 and Microsoft Excel 98To associate a workbook with a custom button, do the following:
REFERENCESMicrosoft Excel 97For 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
(http://support.microsoft.com/kb/120802/EN-US/
)
Office: How to Add/Remove a Single Office Program or Component
Microsoft Excel 7.0 for Windows 95For 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"APPLIES TO
| Article Translations
|

Back to the top
