Who Has the Workbook Open?

by Allen Wyatt
(last updated September 29, 2018)

Kim's workbook is saved on a network drive and multiple users access it all day long to update the information. Sometimes she tries to access the workbook and it is already open by someone else. Excel used to tell her who had the workbook open so she could go to them and ask them to close it. Now Excel just says the same, never-changing person has it open, even when it is someone else who has it open. Kim wonders why this would be happening all of a sudden.

To figure out why this is happening, it is necessary to understand how Microsoft handles the "naming" of who has a workbook open in Excel. When you open a workbook that nobody else has open, Excel creates a "temp file" that is used to indicate you have that file open; it contains your username, as configured within Excel. When someone else comes along and tries to open the same workbook, they are shown your username, as stored in that temp file.

If you are seeing the same name over and over again, then there are two possibilities. The most likely possibility is that you have a bunch of people all on the same network and none of them have configured their copies of Excel with their unique usernames. This isn't as uncommon as you might imagine; Office 365 subscriptions are notorious for this. During installation, you aren't asked for a username (like you were in previous versions of Office), so the program defaults to a generic name. If people don't go in and change the name, then everyone will have the same name, and it is the same name shown when Excel tries to open a workbook that someone else already has open.

The solution to this problem, of course, is to have everyone customize their version of Excel to include their username. Follow these steps:

  1. Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 or a later version display the File tab of the ribbon and then click Options.)
  2. At the left side of the dialog box click General. (If you are using Excel 2007, click the Popular option instead.) (See Figure 1.)
  3. Figure 1. The General options of the Excel Options dialog box.

  4. Change the name shown in the User Name field.
  5. Click on OK.

Remember that each person on the network needs to do this. Now, when they start using Excel workbooks on the network, it is the name specified in step 3 that is stored in the temp file and displayed to anyone else trying to open the workbook.

Earlier I mentioned there were two possibilities. The other one is that, somehow, the temp file associated with a particular workbook isn't getting deleted as it should. (It should be automatically deleted when the original user closes the workbook.) This can be solved by having everyone close Excel, and then someone with administrative privileges going in and deleting any temp files located.

Deleting the files is easy, once you can find them. I mention this because the files are marked as hidden system files (by Office), and they are not normally visible when you are navigating through your various folders. You can configure Windows to display these types of files by following the steps detailed in this tip.

You can tell that a file is a lock file by the fact that it starts with a tilde and a dollar sign. For instance, if you are working on the workbook MyBook.xlsx, then the lock file for that workbook would be ~$MyBook.xlsx. Provided that nobody is actually using MyBook.xlsx, you can delete ~$MyBook.xlsx with no problems.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13566) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...


Adjusting Margins in Print Preview

Print Preview is a great way to give a document the final "once over" before printing. Word allows you to do some minimal ...

Discover More

Complex Lookup Formulas

If you need to combine information in some of your cells in order to produce a result needed to, in turn, look up other ...

Discover More

Changing Default Row Height

Changing the default row height used for a worksheet is relatively easy, as long as you don't mind the row height never ...

Discover More

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!

More ExcelTips (ribbon)

Tying Workbooks Together

If you work with multiple workbooks at the same time, you might wonder how to tie them together so they open and close at ...

Discover More

Opening Two Workbooks with the Same Name

If you have two workbooks that each have the same name, opening them at the same time in Excel could cause some problems. ...

Discover More

Making Ribbon Customizations Apply to All Workbooks

Excel allows you to easily make changes to the ribbon, as well as to the Quick Access Toolbar, which is near the ribbon. ...

Discover More

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.


If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is five more than 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)

This Site

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.

Newest Tips

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.