Create a Placeholder in a Microsoft Word document
Create a placeholder, such as a Date field in a Microsoft Word document.
- Open a blank Word document.
-
On the
Insert tab, click
Quick parts and select
Field.
The Field dialog box is displayed.
- On the Field names list, select MergeField.
- In the Field name box, enter a value, such as Date, for the field.
-
Click
OK.
The placeholder for the field is created, as <<Date>>. Create other placeholders, as required.
- Save the document as Word template.
Add Hyperlink Mail merge field in a Microsoft Word document
Create a hyperlink in Microsoft Word document.
- Open a blank Word document.
-
On the
Insert tab, click
Hyperlink.
The Insert Hyperlink dialog box is displayed.
- Enter the text you want to display for the hyperlink in the Text to display field, such as, KTA.
- Enter the address of the hyperlink in the Address field. For example, "http://<machine name>.asia.kofax.com/TotalAgility/designer/"
-
Click
OK.
The hyperlink text appears in the word document.
-
Press Alt+F9 to view the field code. The field code appears as
follows:
{ HYPERLINK "http://<machine name>.asia.kofax.com/TotalAgility/designer/" }
- Delete the link text including the quotes; only { HYPERLINK } should remain.
-
Place the cursor after the HYPERLINK and insert the merge field
for the url. For example,
TotalAgilityURL.
For Merge field you should include the protocol and the same syntax as the URL at design time. For example: Enter “http://www.microsoft.com/” instead of “www.microsoft.com”.The field code appears as: { HYPERLINK {MERGEFIELD TotalAgilityUrl \* MERFEFORMAT}}
- Press Alt+F9 to hide the field code.
- Save the document as Word template.