Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Turning Off Track Changes without Unsharing.

Turning Off Track Changes without Unsharing

Written by Allen Wyatt (last updated November 23, 2020)
This tip applies to Excel 2007, 2010, 2013, and 2016


2

Excel allows you to track changes made to a workbook, as described in other issues of ExcelTips. When you turn on change tracking, Excel requires that you share the workbook. After all, change tracking is meant to be used in an environment where multiple users access and change the same workbook.

At some time you may want to turn track changes off, so that they are no longer noted in the workbook. If you turn it off, Excel assumes you also want to stop sharing the workbook, so it automatically turns off sharing. If you want to still continue sharing—without tracking—then you may wonder what your options are.

Unfortunately, Excel is rather confusing when it comes to sharing a workbook and tracking changes. The two features are intimately related to each other.

  • If you start with a brand new workbook and then choose to share it (Review | Changes | Share Workbook), Excel allows others to access and modify the workbook. However, track changes is not on at this point.
  • If you start with a brand new workbook and then choose to track changes (Review | Changes | Track Changes | Highlight Changes), Excel automatically shares the workbook and turns on change tracking.
  • If you start with a shared workbook and choose Review | Changes | Track Changes | Highlight Changes, the Track Changes While Editing check box is selected. This may make you think that just because the workbook is shared, that track changes is also turned on; it isn't. (You can verify this because changes are not marked in the workbook.) If you click OK in the dialog box, then it will be enabled. If you click Cancel, then it won't be enabled. If you clear the Track Changes While Editing check box and click OK, then Excel unshares the workbook, as well.
  • If you start with a workbook that has track changes turned on and choose Review | Changes | Track Changes | Highlight Changes, the Track Changes While Editing check box is selected, as it should be. Clearing the check box and clicking OK causes Excel to unshare the workbook.
  • If you start with a workbook that has track changes turned on and choose Review | Changes | Share Workbook, then the Allow Changes by More than One User At the Same Time check box is selected. (Remember—if track changes is on, then the workbook is automatically shared.) If you clear the check box and click OK, then sharing is turned off and the track changes feature is turned off.

Is it any wonder that all this is confusing? The simplest way to turn off track changes and still have a workbook shared is to turn off track changes, then save the workbook. This saves it in single-user mode. You can then share the workbook and again save it. Four simple steps (turn off tracking, save workbook, share workbook, and save workbook) and you are exactly where you want to be. Remember, however, that if you choose Review | Changes | Track Changes | Highlight Changes, it will appear that track changes is still turned on. Ignore the check box and click Cancel; it is not turned on at this point.

The only way to achieve the desired outcome faster is to use a macro. The macro in Listing 1 automates the steps just discussed.

Listing 1. KeepShared macro.
Sub KeepShared()
    Dim sFile As String
    Dim sMsg As String
    Dim iUsers As Integer
    Dim iAnswer As Integer

    With ActiveWorkbook
        If .MultiUserEditing Then
            sFile = .Name
            iAnswer = vbYes
            iUsers = UBound(.UserStatus)
            If iUsers > 1 Then
                sMsg = sFile & " is also open by " & _
                    iUsers - 1 & " other users:"
                For x = 2 To iUsers
                    sMsg = sMsg & vbCrLf & .UserStatus(x, 1)
                Next
                sMsg = sMsg & vbCrLf & vbCrLf & "Proceed?"
                iAnswer = MsgBox(sMsg, vbYesNo)
            End If

            If iAnswer = vbYes Then
                .ExclusiveAccess
                .SaveAs Filename:=sFile, AccessMode:=xlShared
            End If
        End If
    End With
End Sub

The macro starts by checking the .MultiUserEditing property to make sure that the workbook is shared. If it is, then the macro checks to see if the workbook is being used by multiple people at the present time. If it is, then you are prompted whether you want to continue. If you do (or if there are not multiple users with the workbook open at the current time), then the workbook is set for exclusive access (single user) and then saved in shared mode. Setting the workbook for exclusive access turns off the track changes feature, as well.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11678) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Turning Off Track Changes without Unsharing.

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. ...

MORE FROM ALLEN

Keep with Previous

Word allows you to format a paragraph so that it is on the same page as whatever paragraph follows it. You may want, ...

Discover More

Selecting a Graphic that is Behind Text

Position a graphic so that it is "behind" your text, and it may seem like you can no longer select the graphic. Here's ...

Discover More

Footnotes in Two Columns

When laying out how your printed pages will look, you might want to place your footnotes into more than one column. The ...

Discover More

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!

More ExcelTips (ribbon)

Converting Imported Information to Numeric Values

If the information you import into Excel is treated as text by the program, you may want to convert it to numeric values. ...

Discover More

Customizing Quick Access Toolbar Icons

The standard way to customize Excel is to add tools to the Quick Access Toolbar. The program provides only a limited ...

Discover More

Taking Pictures

Have you ever wanted to take a "picture" of a part of a worksheet and put it in another section? This tip explains how to ...

Discover More
Subscribe

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

View most recent newsletter.

Comments

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}] (all 7 characters, in the sequence shown) 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 1 + 1?

2016-07-30 22:58:11

Abhijeet

Hi

Can you please tell me how to give Administrator access to give in this macro

Only Administrator user can delete the data rest users not allow to delete tes data rest users can edit the data or fill the data


2016-07-30 05:24:34

Petros

Shared workbooks can be horrible, because several Excel features are unavailable in them. Developers cannot write, record, change, view or assign macros, as VBA is unviewable. Users can only run existing macros that don't access unavailable features.

So until today, if you had to update macros in a shared workbook, you were out of luck. The only way was to unshare it, discard the change history, edit your macros and share the workbook again. Sometimes shared workbooks that have been made exclusive a couple of times lose data or settings or trigger odd errors

Here is what you have to do to unlock macros in shared workbooks using the FREE Macro Mover add-in. It works on a shared Personal.xlsb file as well

http://www.spreadsheet1.com/move-excel-vba-projects-from-one-workbook-to-another.html


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
Subscribe

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.