Field codes are used as placeholders in Microsoft Word to put dynamically changing text in a document, such as the date and time. They're also used for fields to support mail merge of form letters, labels, etc.

learn more… | top users | synonyms

0
votes
0answers
25 views

Word - styling part of field data before it's inserted into word?

I use a case management system at work that generates Word documents by inserting data from its database using fields. I have a couple of fields that I need to style (bold, capitalize and underline), ...
0
votes
1answer
17 views

Word 2013 custom text in cross-reference stopped working

I noticed today that custom text in cross references in my document stopped working. When I started working on the doc I followed the answer in this question so whenever I wanted a cross reference to ...
1
vote
1answer
23 views

How to link Microsoft Word Field Codes and References

Sorry if this question has already been asked, I can't find it anywhere on the internet. I have a document that shows many photos, and beneath each photo has a caption, eg: "Photo 1: A picture of a ...
1
vote
1answer
25 views

How do I remove all field codes from a Word document

Field codes often find its way into Word documents (e.g. graph references, citations etc.). When we want to submit the completed document to someone else, often it would be necessary to remove field ...
0
votes
0answers
11 views

Word: LInked graphics resize to their original size when saving as PDF

I work with MS Word 2010 on Windows 7. In a DOCX-document with about 200 pages, I have linked the pictures via Insert/Quickparts/Field/IncludePicture. I have always checked the options "Data not ...
1
vote
1answer
87 views

Cross Refence Appendix without Label

I have a document with a lot of appendixes, normally I cross reference the appendix just like any paragraph number and it brings in the entire label, for example "Appendix A." Now in my document I ...
0
votes
1answer
32 views

Microsoft Office Field Code regex on filename?

Is it possible to filter the filename of the Word file to present it inside the document? Let's say I have the following filename: Acme Co - Project XYZ - Code #123 - Year 15.docx I need to get Acme ...
0
votes
0answers
71 views

How to retrieve Word 2013 Content Control Drop Down List entry value

I have a Word 2013 document with 2 Content Control Drop Down List. Each of the list has Display Name in text and Value in number. Is it possible for me to create a field which conditionally display ...
0
votes
2answers
83 views

MS Word field code error “!Syntax Error, :”

I am trying to modify a reference to only show a certain number of characters of text on the left of the string. To test my formula, I used the following field text: { =LEFT( "BLAH12345" , 3 ) } ...
0
votes
0answers
59 views

Microsoft Word field codes

I have reports I provide my clients that inputs their name address and other info in the report. I wrote this a few years ago and need to change it but I forgot the sequence. The Following field code ...
2
votes
1answer
70 views

Prompt to enter (custom) document property in Microsoft Word

I created a template with a custom document property called "myproperty". I can access this using fields with the DOCPROPERTY "myproperty" command. I want to make Word prompt the user for a value and ...
2
votes
1answer
176 views

In Microsoft Word, can I show Heading1 > Heading2 breadcrumb navigation in the header/footer?

In Microsoft Word (2016), I want to be able to specify a header with a sort of breadcrumb navigation showing the previous titles / heading text, to give the reader an overview of where you are in the ...
4
votes
1answer
161 views

Microsoft word 2013 - if statement not working

I have a field code with a strange behavior. When I put the code, { IF NUMPAGES=NUMPAGES "A" "B" } I get A as expected however, when I reverse this, ie { IF NUMPAGES<>NUMPAGES "A" "B" } I ...
0
votes
1answer
40 views

Manually entered field code not working, but visually equivalent gui-entered one is working

I am using Office 2011 (Norwegian version) for Mac, and I am trying to enter field codes. Every manually input field code so far is failing, whereas the ones I enter using Insert->Field->... is ...
1
vote
0answers
48 views

Need to Selectively Merge Records to Different Places in a Word Directory-type Document

My company regularly creates "rosters" (or directory documents) that list contact info for people with roles for a trust fund. The rosters have a certain format -- people with an "Administrator" role ...
1
vote
0answers
24 views

LO Writer: Getting page number 1 for pages 1 and 2

I'm writing this document (with the file originally having been an MS-Word .doc file) with LibreOffice Writer (4.3.3.2). I'm using a page number field in my header, but instead of the pages being ...
2
votes
1answer
274 views

How to create paragraph breaks within conditional field codes in Word 2010

I'm trying to create a sequential list using field codes and mail merge. My problem is that certain items do not need to appear on the list, depending on how the mail merge goes. This is confusing, so ...
0
votes
1answer
307 views

Inserting Autotext (or Quickpart) into Word (2013) on the basis of a Boolean value from Access (2013)

Haven't found any info on this anywhere on the net (at least any that works--more on that in a moment). What I am trying to do is have, at the push of a button that I have created in an Access Form, ...
2
votes
1answer
5k views

Word Syntax Error with NumPages and Formula

I'm trying to use the following as a field in word: { = { NumPages } - 1 } And I get the following error: !Syntax Error, { I seem to be using the right format per Microsoft. Any ideas? ...
2
votes
1answer
97 views

Word 2013: Get the page number for the previous page

I'm trying to accomplish something very simple in Word 2013, but the feature does not seem to be available, nor can I work it out with field codes. I simply want to include, on multiple pages, "...
3
votes
1answer
2k views

Adding custom text to a Word cross-reference field

I've got a very long document that uses multi-level numbering. I'm wanting to include cross-references (with hyperlinks) back and forth to particular sections, and I've been using the standard Word ...
2
votes
1answer
237 views

Word 2007 - Use of wildcards in fields

I need to create a field in Word 2007 that will display some text when the its file is not in the expected directory (a folder called "Release"). The drive mapping and top level folders may be ...
0
votes
1answer
86 views

Getting bad results to form field formula Word

I am using Word 2007 and have a form with "Filling in forms" protection. I have a formula field: {[FormText { =Round(Price/0.5, 2)}}] that shows like this: 100.00. The [] brackets indicate a bookmark ...
0
votes
1answer
233 views

Eliminate leading space form field Word

I am using Word 2007 and have a form with "Filling in forms" protection. I have a formula field: { =Round(Price/0.5, 2) \# "$#,##0.00" } that shows like this: $ 100.00. The problem is how do I ...
1
vote
2answers
485 views

How to reference an item numbered with prefix, without printing the prefix itself?

Suppose I defined a list template, with format Table %1., so it will produce items Table 1. Table 2. Table 3. ...and so on. Now I want to reference one such item in text (e.g. "a curious reader ...
1
vote
4answers
10k views

How to prompt for information when starting a new document from Microsoft Word template

I want to create a field in a template (dotx) that, when starting a new document from that template, would prompt for information. The field is something that repeats over and over in the document. I ...
1
vote
0answers
401 views

Adding a prefix or postfix to a Word 2013 quotation source

I am using the German version of Word 2013, so I am not absolutely sure, if "quotation source" is the term being used in the English version. I am talking about the automatic text field, one can get ...
0
votes
2answers
1k views

Can I control Caption sequence numbering from styles other than “Heading ”?

Similar question to Wrong caption using 'Appendix' header style , so the answer may well be "I can't." I created a style called "Appendix" which is based on "Heading 1" , is at "level 1" , and ...
1
vote
0answers
76 views

Print hidden text except TC fields

In Word 2010, is it possible to print hidden text inside my document, except TC fields? Indeed, I have a document which contains hidden text and some TC fields to generate to table of contents. ...
0
votes
1answer
760 views

IF evaluation in Field codes checking for last page in Word 2011

I am trying to use the IF field code in Word but I am getting radically unpredictable behavior. My syntax is this: {IF PAGE = NUMPAGES "YES" "NO"} I have inserted it into a footer, text box, ...
1
vote
0answers
26 views

Long fields in Word

I'm aware of both fields and quick parts features in Word. I'm searching for something, that combines these two features: I want to enter a block of long, formatted, perhaps multiline text, which may ...
1
vote
1answer
433 views

DocProperty “Pages” changed by printing

I'm using a feature in Word that has worked for me for more than a decade: in the Footer, I select "Insert", "Quick Parts", "Field..." then Field names: "Page". I type "of", then insert the "...
0
votes
1answer
132 views

Insert a number of figures in a document

There are the NumChars, NumPages and NumWords fields in Microsoft Word. One can use them to insert corresponding values into a document. Is it possible to insert a number of figures in a document ...
3
votes
1answer
1k views

How to permanently format the field “Ref” to avoid unwanted spaces after cross reference in Word 2010?

We have a Word 2010 document where we want to insert cross references to headings. When inserting a cross reference (insert -> Cross Reference -> Heading -> Heading (no context) -> ok), the field ...
1
vote
1answer
432 views

Custom page numbers in TOC in word 2010

I have a document whose first 3 pages are numbered i, ii, iii, and thereafter normal numbering resumes from number 1 (i.e. page 4 is page 1). I have a table of contents but it refers to the actual ...
0
votes
1answer
486 views

Word 2010: Include colon in Heading but omit from field references

I wish to have a document with sections that are headed, Section 1: Introduction but when reference them with fields codes I wish to do so without the colon appearing in either field. Note that the ...
0
votes
1answer
415 views

Reference DOCPROPERTY with a blank space in its Name

I am struggling to reference a custom document property (DOCPROPERTY) with a space in the name, Blank Page. This Question shows how to reference a document property : Word 2010: How to reference ...
2
votes
2answers
1k views

How to get Word to not revision mark a field update whose result hasn't changed?

I am using Word 2010. AFAIK, this problem has been in Word since the beginning of time, though. When I create a field in a document, the field is updated when I force it to (e.g., with F9 or a right-...
9
votes
6answers
24k views

Is there a Keyboard-Shortcut for updating all fields, tocs and indexes in MS Word 2011 Mac OS X?

I know it's possible to have MS Word 2011 update all fields before printing a document but I would like to be able to update the fields whenever I feel the need to. Is there a keyboard short cut for ...
1
vote
1answer
979 views

Linked Excel 2010 Charts Won't Show Field Codes in Word 2010 - What am I doing wrong?

Thank you for reading. I hope this is something simple I am overlooking. Synopsis: I have a Word doc containing linked charts from a single Excel source. They are docx and xlsx files created in Word ...
0
votes
1answer
562 views

Field-Code tables don't preview or print (Word-2003)

When I go to preview or print a Word 2003 document, the "table of contents", "table of figures" and the "table of tables", visible while editing in "Print Layout" mode, are suddenly replaced by their ...
2
votes
3answers
28k views

How do I turn a table of contents into plain formatted text?

How do I turn a table of contents into a plain formatted text without field codes? I want to cut it away from the rest of the doc as an outline. I'm using Word 2011 on a Mac.
1
vote
1answer
1k views

Word 2007 document property field “Update Field” changes metadata, not display

To get the word "Author" document property you would normally enter Ctrl+F9 and type "DOCPROPERTY Author". { DOCPROPERTY Author } In the particular instance I am dealing with, the code has been ...
61
votes
6answers
156k views

How do I update all fields in a Word document?

I want a way of updating all fields in a Word 2013 document. (If it works in other versions, all the better; I originally had this problem with Word 2007, and nothing seems to have changed since then.)...
0
votes
2answers
485 views

How to use part of a file name as a link within a word document

How do I have a link within a word document to certain text strings of the file name? For example, I am editing a word document where the file name is: 'File 075 - Test result 101.doc', and would ...
16
votes
4answers
47k views

Powerpoint: how to insert document property (aka 'field') in slide?

How can I insert a document property (e.g. the author's name) in a slide in PowerPoint 2007? I know this can be done in Microsoft Word, but I can't find how to do it in PowerPoint. (The idea is that ...
0
votes
2answers
4k views

How do you copy raw Microsoft Word fields codes to another text document?

Is it possible to copy text from a Word document containing field codes, so that when asted into another application, the FIELD CODES REMAIN AS RAW TEXT. i.e. something like This is about whales { ...
6
votes
4answers
8k views

Microsoft Word 2007 opening all docs with field codes toggled off

Recently, something changed with my Microsoft Word 2007 installation/preferences on Windows XP, such that whenever I open a word document, all the field codes are displayed raw instead of as their ...
3
votes
2answers
3k views

Is there a Word field code for the folder path?

In MS Word you can insert a field code to show the document file name with the option to include or not the full path. What I want is to only insert the folder path excluding the file name. Macros ...