Written by Allen Wyatt (last updated July 1, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021
Chuck has a workbook that has a half-dozen worksheets, and they are in an order that is critical to his needs. He wonders if there is a way to lock the position of the worksheet tabs (the worksheet ordering) so that their position cannot be changed.
Yes, this can be done; it is referred to as protecting the structure of a workbook. There are two ways in Excel that you can get to the proper place to enable this protection. Here's the first method, which works just fine in Excel for Microsoft 365.
Figure 1. The Protect Structure and Windows dialog box.
If the above steps don't work in your version of Excel, you can follow these alternative steps. (These steps are actually easier, so you may want to follow them anyway.)
With the Protect Structure and Windows dialog box displayed—regardless of how you get there—all you need to do is make sure the Structure check box is selected. (It should be selected by default.) Then, provide a password, if desired. Clicking on OK results in being asked for the password a second time (if you provided one to begin with), and then your workbook structure is protected.
With the workbook structure protected, Chuck's desire to have the worksheet order locked is effected. In addition, Excel won't allow users to hide or unhide worksheets, add or delete worksheets, or rename worksheets. Otherwise, you can use Excel as normal. If you later want to make changes to the workbook structure, you'll need to follow the steps above to unlock the workbook.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13898) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
When you send a workbook to a coworker, it can be bothersome if that person has problems using what you created. There is ...
Discover MoreExcel allows you to protect your worksheet data in several different ways. Unfortunately, it doesn't allow you to protect ...
Discover MoreWant to protect the Excel information stored in a particular folder on your system? There are a number of ways you can ...
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 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.
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