by Allen Wyatt
(last updated June 12, 2017)
Robert frequently uses one workbook wherein he opens at least two windows in which to work, selecting worksheets from multiple tabs. (He doesn't do this for all workbooks, just for this one.) He sets titles and uses the zoom feature to 80% to get more of the worksheets on-screen. Every now and then, after saving the workbook and reopening it later, the titles and zoom factor on a particular worksheet have been reset, and Robert has to go through the procedure of resetting them again. He wonders if there is a way to ensure the titles and zoom factor are remembered when saving.
There are a few things you can try. First, you could create a macro that runs every time the workbook opens. This macro could set up your worksheets the way you want. For instance, the following macro sets the zoom factor for the window to 80%.
Private Sub Workbook_Open() ActiveWindow.Zoom = 80 End Sub
Just put the macro in the ThisWorkbook module and it will work fine. You could also modify it to add other setup that you want done.
If you prefer not to use a macro, then you can set up your worksheets as you want and then save them as a custom view. Just follow these steps:
Figure 1. The Custom Views dialog box.
Figure 2. The Add View dialog box.
When you later want to use the custom view, just click the Custom Views tool again, choose the view you want, then click Show.
The final suggestion is to save as a workspace. The primary difference between workspaces and custom views is that workspaces allow you to remember all the workbooks you had open when you saved the workspace. You use the tool by, once again, displaying the View tab of the ribbon and clicking the Save Workspace tool. You can then provide a name for the workspace, and it is stored in a file that uses the extension .XLW.
There is one thing to note here: The "save as workspace" suggestion won't work in Excel 2013, only in Excel 2007 or Excel 2010. The feature was removed completely from Excel 2013; you can't even find it as a command to be added to the QAT or ribbon. According to Microsoft sources, the feature has been deprecated.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12586) applies to Microsoft Excel 2007, 2010, and 2013.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
Not satisfied with the way that default workbooks and worksheets look in Excel? You can easily create your own defaults for ...Discover More
Need to open a bunch of workbooks from within Excel? It's easy to do when you construct a selection set in the Open dialog ...Discover More
While password protecting a workbook does provide some security for the contents in the workbook, if you have several ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.