Sha256: 10d2868cebc2503ac0eba2dcf0ec323fc13690a86b040cf9cac264d2f5998134
Contents?: true
Size: 1.32 KB
Versions: 9
Compression:
Stored size: 1.32 KB
Contents
### Creating a Simple Template Creating a template is as easy as creating a normal Word document (`.docx`). Yet it could be confusing to people who haven't used the [Mail Merge](https://support.office.com/en-us/article/Use-mail-merge-to-send-bulk-email-messages-0f123521-20ce-4aa8-8b62-ac211dedefa4) feature in Microsoft Word. The steps are as follows: - Create a new word document  - Create your template  - Add mail merge fields - Click the `Insert` tab on the ribbon  - Click the `Quick Parts` dropdown and select `Field...`  - On the dialog, scroll down and select `MergeField`  - Select `Field Codes`   - In the `Field codes` input box, enter your variable in front of the `MERGEFIELD`. Notice the space between the `MERGEFIELD` and the variable  - You should then have something like this:  - A complete template might look like this:  NOTE: When adding variables, those that display a value are preceded with an equals sign `=`. Those that just perform logics, such as loops and conditionals, do not need a preceding equals sign.
Version data entries
9 entries across 9 versions & 1 rubygems