What are locked fields?

A

Aaron Bratcher

I have a merge document. When I go to do the merge, it says it found a
locked field and cannot update locked fields.

How can I find what field is locked?
 
A

Aaron Bratcher

tell application "Microsoft Word"
tell active document
set L to get every field whose locked is true
repeat with f in L
set locked of f to false
end repeat
end tell
end tell

m.

Hey Matt. Fancy seeing you on this list. :)

I appreciate the script. Originally it didn't fix my problem. After some
playing, I discovered my locked field was in the footer. So after
cutting everything from the footer and putting it into a fresh document,
your script worked.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top