
If you need to make changes to the mailmerge main document, don't make/save them after doing a merge make/save them beforehand. Accordingly, it's best to save mailmerge main document before doing the merge and not re-save it afterwards. Note 2: Hyperlink fields modified this way are liable to cease functioning once the merge has been executed. Note 1: The above is only for merged output sent to a new document it does not work with merges to email or print.
INSERT TEXT FIELDS IN WORD UPDATE
Without this, the mergefield hover text won’t update to the correct targets.
INSERT TEXT FIELDS IN WORD HOW TO
The following code illustrates how to add new text. Insert a mergefield pointing to whatever data field you want to use for the display text (this could even be the «TrackingNumber» mergefield).ĭelete all of the previous display text either side of your last-inserted mergefield (note that this field will likely have updated already).Īfter merging to a new document, use Ctrl-A, F9 to update all fields. You can add new text form field to a Word document by using AppendTextFormField method of WParagraph class. Position the cursor anywhere within the display text. In Word 2007 & later, you can make the display text variable also, by following these additional steps: Select the field and press F9 to update the display. Replace everything in the field between '=' and '"' with your «TrackingNumber» mergefield. Select the inserted hyperlink and press Shift-F9 to expose its field code. Here's how you can do get a mailmerge to display your preferred default 'Text to display' text instead:ĭisregarding mergefield issues for the moment, insert a hyperlink into the document in the normal way, choosing whatever 'Click Here' text you want in the 'Text to display' box. In addition, you can apply Shadow Effects and 3-D Effects to your text box.By default, if you insert a mailmerge field into a hyperlink field, the hyperlinks will all show the first record’s address as the 'Text to display' text, even though the hyperlinks will actually point to the merged targets. Then select a formatting option from the Format tab. Next, begin exploring other formatting options like Shape Fill, Shape Outline, and Change Shape-all of which are also available on the Format tab.įirst, be sure to click on the edge of the text box to make sure the box is selected. Click on the style to apply it to your text box. To apply text box styles, point to a style to see what it will look like. To format your text box, there are a variety of formatting options on the “Format” tab on the Ribbon. RELATED: Working with Pictures, Shapes, and Graphics Format a Text Box But, if you do have text on your page, you’ll want to click the “Layout Options” button that appears to the right of the text box, and then choose one of the other layout options. This is fine if you’re just drawing and arranging text boxes on a textless page so you can do some specialized layout. One thing that’s different about drawing your own text box is that Word defaults to putting it in front of any text. Press and drag your mouse to draw your text box.Īfter you create the new text box, you can begin typing your text right away. Your pointer changes into a cross-hair symbol. In the dropdown menu, click the “Draw Text Box” command.

Switch over to the “Insert” tab on Word’s Ribbon, and then click the “Text Box” button. You can also draw your own text box if you already have a size and placement in mind.
INSERT TEXT FIELDS IN WORD FULL
We’ve got a full guide on working with pictures, shapes, and graphics in Microsoft Word if you’re interested in learning more about that. You can also change how (and if) regular document text wraps around your text box-just like you can with any other shape or object. And to move it somewhere else in your document, just position your cursor on the edge of the box until you see a four-headed arrow, and then you can drag it wherever you want.

The rotate handle at the top of the box (the circular arrow) lets you rotate the box. You can drag any of the handles at the four corners or sides to to resize the box. After inserting one, it’s easy to resize it or move it to another location.

The predefined text boxes also contain preselected layout options, including their size and placement on a page.
