Showing and hiding Field Codes in Microsoft Word

Filed under: Ajax — lars @ 07:47:00 pm

I can't believe I'm writing a blog post about Microsoft Word :)

The other day I opened a document, and where I expected to see generated fields like the Table of Contents, I saw strange keywords like:

{ STYLEREF Title \* MERGEFORMAT }
and:
{ TOC \o "1-2" \t "Appendix, 1" }

It took quite a bit of googling to discover that I could 'fix' this simply by pressing ALT+F9. It seems this is the keyboard shortcut to show or hide Field Codes - basically toggling between showing they keywords for these fields or the fields themselves.

Other common Field Codes are:
FILENAME MERGEFORMAT NUMPAGES STYLEREF HYPERLINK

and they're always surrounded by {} characters.

Now that I've written this I hopefully won't forget next time!

Comments

No Comments for this post yet...

    Leave a comment

    Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>


    Options:
    (Line breaks become <br />)
    (Set cookies for name, email & url)




    powered by  b2evolution