Skip to main content

Remove field code from Word document

e.g. before submitting a MS, or hand manipulating some formatting because Word does things (like cross-references) so half-assed [from here]

Select all the text (CTRL-A)
Press Ctrl+Shift+F9

Editing to remove anonymous comments that only contain thanks. I really appreciate the thanks, but it makes it harder to find comments that carry pertinent information. I'm also going to try and paste informative comments in the body of the post to make them easier to find.


  1. Thanks! Now why couldn't I find that on WORD's help?

  2. This doesn't seem to work for footnotes/endnotes... correct?
    I want to remove the codes so as to be able to move all endnotes to a new position in the document...

  3. Sometimes you can't select all with Ctrl-A (in Word 2007). Then you have to go to the Developer tab>Protect Document> Restrict Formatting and Editing. Then in the side bar that appears, click "Stop Protection".

    For some reason, you have to do this even though the document was not protected in the first place!

    Then you can Ctrl-A and then Ctrl-Shift-F9.

  4. thats great!!!thanks!!! I used for endnote and it works!!! :-)

  5. By the way, if you are using a Mac and Word 2008 I have found that the way to replicate this is to use Cmd-A, Cm-shift-fn-F9 (using the "fn" key as well.)

  6. Thanks a lot....It worked perfectly..

  7. The Mac trick worked beautifully! Many thanks

  8. OMG you are a lifesaver, thank you! And I agree with Deborah - why in the hell is that not in Word Help???

  9. YESYESYES. Just what I was looking for. Thanks!

  10. I've been sent a pile of documents with a bunch of field codes in it but no source document. Is there any way to remove the field codes but retain their names? Eg when I use Ctrl+Shift+F9 to get rid of the field codes, I just end up with a whole bunch of "Error! Bookmark not defined". Can I keep the field code/name instead as actual text i.e. {Name}?

    I deal with a lot of old ducks who like going through bit by bit and filling these in manually rather than mail merging, and I don't like the thought of going through all these documents and replacing the fields with text one by one.

  11. Interesting how many of us are battling a reference manager. Thank you so much, I even uninstalled EndNote on my computer, then had a document returned with the referencing reverted because the reviewer had EndNote installed. Most frustrating.... I wish I had known this before. I will certainly spread the word!

  12. Does anyone know how can I do this: I removed the field codes (endnote 9) from a word document (2007) and now I don't have an original copy with the field codes inact. Propably I replaced the original document by accident. Can I restore them??? I have to insert the citations again?

  13. That does not work for me: Shift-CTRL-F9 is the short cut for "play next track" and that is what it does (MAC). You should mention the operating system, this seems to be WIN only.

  14. I found it: It is CMD-6 in Office for Mac 2011.

  15. You are amazing! it works for me but I guess I have to do it for all my documents because it all affected my docs with i wish i could just do it in one doc and will upate all but this is good was really helpful! you are a life saver and saved me a lot of precious time..keep it up..i will add your page in my bookmark from now on..and by the way, you are a genius! :) God bless you :)

  16. Thanks from Scott!

  17. Hiya, Can anyone help?!!!

    I keep getting some kind of code in my page numbers rather that the page number it self. When I use the Cntrl+ shift F9 function I am able to get the number, but then get the same number on every page!!!! Please advise. Thank you :-)

  18. This is what I needed! Thanks

    By the way, if you are using a Mac and Word 2008 I have found that the way to replicate this is to use Cmd-A, Cm-shift-fn-F9 (using the "fn" key as well.)...

  19. Hi everyone!

    Is there a permanent way to solve the problem of codes appearing instead of the actual field result? I didn't have any problems until today when suddenly word could not update properly my table of contents or my mendeley references and instead {TOC} or other codes were appearing. I tried opening old documents of mine which I new were 'correct' and the problem appeared in those too. shift+F9 works but I have to do everytime I create a new doc or open an existing doc. Any permanent solutions? does anyone know what might be causing this?

  20. Great, thanks a lot! Included the tip in my blog.

  21. Thank for this... worked for me and saved me... great job


Post a Comment

Popular posts from this blog

Python: Multiprocessing: passing multiple arguments to a function

Write a wrapper function to unpack the arguments before calling the real function. Lambda won't work, for some strange un-Pythonic reason.

import multiprocessing as mp def myfun(a,b): print a + b def mf_wrap(args): return myfun(*args) p = mp.Pool(4) fl = [(a,b) for a in range(3) for b in range(2)] #mf_wrap = lambda args: myfun(*args) -> this sucker, though more pythonic and compact, won't work, fl)

Flowing text in inkscape (Poster making)

You can flow text into arbitrary shapes in inkscape. (From a hint here).

You simply create a text box, type your text into it, create a frame with some drawing tool, select both the text box and the frame (click and shift) and then go to text->flow into frame.


The omnipresent anonymous asked:
Trying to enter sentence so that text forms the number three...any ideas?
The solution:
Type '3' using the text toolConvert to path using object->pathSize as necessaryRemove fillUngroupType in actual text in new text boxSelect the text and the '3' pathFlow the text

Running a task in a separate thread in a Tkinter app.

Use Queues to communicate between main thread and sub-threadUse wm_protocol/protocol to handle quit eventUse Event to pass a message to sub-threadimport Tkinter as tki, threading, Queue, time def thread(q, stop_event): """q is a Queue object, stop_event is an Event. stop_event from """ while(not stop_event.is_set()): if q.empty(): q.put(time.strftime('%H:%M:%S')) class App(object): def __init__(self): self.root = tki.Tk() = tki.Text(self.root, undo=True, width=10, height=1)'left') self.queue = Queue.Queue(maxsize=1) self.poll_thread_stop_event = threading.Event() self.poll_thread = threading.Thread(target=thread, name='Thread', args=(self.queue,self.poll_thread_stop_event)) self.poll_thread.start() self.poll_interval = 250 self.poll() self.root.wm_protocol("WM_DELETE…