Written by Allen Wyatt (last updated October 28, 2023)
This tip applies to Excel 97, 2000, 2002, and 2003
Tony is looking for a way to put buttons on the toolbar that will open regularly used Excel workbooks, without the use of a macro.
Most people use custom toolbar buttons to initiate macros, including macros that open new workbooks. Here, for instance, is a simple macro that could be used to get the desired results:
Public Sub OpenMyWorkbook() Workbooks.Open _ Filename:="D:\Data\MyWorkbook.xls", _ UpdateLinks:=False End Sub
All you need to do is change the name of the macro and the name of the file you want to open, and you've got a great way to open specific workbooks. If you don't want to use the macro (and many people, such as Tony, prefer not to), then you can follow these steps:
Figure 1. The Commands tab of the Customize dialog box.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2884) applies to Microsoft Excel 97, 2000, 2002, and 2003.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Once you've edited your toolbars, you may want to change them back to their default appearance and behavior. This tip ...
Discover MoreExcel's interface can be easily modified to reflect the way you want to do your work. This tip explains how you can ...
Discover MoreDon't like the toolbar button images in your version of Excel? Don't fret; you can pull up the button editor and make ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments