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.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Ever tried to clean-up the icons on your toolbar only to have one that won't go away? This tip explores some possible ...
Discover MoreToolbars don't need to be tethered to the top of your program window. Although they are right at home there, you may want ...
Discover MoreExcel normally displays the font list on the toolbar or using the very fonts it is displaying. Here's how to change that ...
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 © 2024 Sharon Parq Associates, Inc.
Comments