Please Note: This article is written for users of the following Microsoft Word versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Word 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Word, click here: Locating Locked Fields.
by Allen Wyatt
(last updated June 28, 2018)
Fields are very useful when working with a document—they allow you to place "dynamic" information in your documents. Sometimes you may want a field to remain static; to not change. You can do this by selecting the field and press Ctrl+F11. This "locks" the field so it does not update from its current value.
If you have a lot of fields in a document, and some of them are locked, you may want a way to quickly find out which ones are locked. Word has no special feature that allows you to search for locked fields, but you can create a macro that will search them out for you. The following macro, FindLocked, starts at the beginning of a document and finds locked fields. It selects each locked field, in turn, and asks you if you want to continue searching.
Sub FindLocked() Dim iField As Integer Dim vResponse As Variant For iField = 1 To ActiveDocument.Fields.Count If ActiveDocument.Fields(iField).Locked Then ActiveDocument.Fields(iField).Select vResponse = MsgBox("Continue Searching?", vbYesNo) If vResponse = vbNo Then Exit For End If Next iField End Sub
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (11026) applies to Microsoft Word 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Word here: Locating Locked Fields.
Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!
Cross-referencing is a great feature of Word that allows you to add references to text in various places of your ...Discover More
The COMPARE field is rather esoteric, but it can be helpful when you need to compare two values using fields. The result ...Discover More
One of the most commonly used fields is the DATE field. You can specify how the DATE field displays the current date by ...Discover More
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.