Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:microsoft_office:word:mail_merge [2007/04/06 12:12] – created billh | docs:microsoft_office:word:mail_merge [2008/08/03 00:25] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 23: | Line 23: | ||
- in the Data Merge Manager toolbar -> Merge, click the icon to "Merge to New Document" | - in the Data Merge Manager toolbar -> Merge, click the icon to "Merge to New Document" | ||
- you should now have a new document, with all fields automatically filled in by Word, and a page for each recipient | - you should now have a new document, with all fields automatically filled in by Word, and a page for each recipient | ||
+ | |||
+ | ==== Labels ==== | ||
+ | If you want to print labels rather than creating letters, you do everything the same way except instead of creating "Form Letters," | ||
==== Advanced - Filtering Data ==== | ==== Advanced - Filtering Data ==== | ||
Line 40: | Line 43: | ||
- click OK, and in the Data Merge Manager toolbar -> Merge, click the icon to "Merge to New Document" | - click OK, and in the Data Merge Manager toolbar -> Merge, click the icon to "Merge to New Document" | ||
- you should now have a page for each letter sent to the filtered recipients | - you should now have a page for each letter sent to the filtered recipients | ||
+ | |||
+ | |||
+ | |||
+ | ==== Advanced - Conditional Text ==== | ||
+ | |||
+ | If you want the ability to have conditional text, such as comma with a space between city and state only when you have a city/state, or a line break from address1 only when you have text for address2, then you will need to add a conditional Word field. | ||
+ | * Comma: | ||
+ | - find a place where you want a comma, only when a certain field has data (such as between city and state - don't type a comma or space between them yet) | ||
+ | - your line may look like this: << | ||
+ | - in the Data Merge Manager toolbar -> Word Field, click and drag the " | ||
+ | - when the dialog appears, select the CITY field name, and for the Comparison select "is not blank" | ||
+ | - in the " | ||
+ | - leave the " | ||
+ | - now you should only see a comma and space when the record has a city | ||
+ | * Line Break (a little more complicated, | ||
+ | - find a place where you want a line break, only when a certain field has data (such as after address line 1, only when address line 2 has data) | ||
+ | - your lines may look like this:< | ||
+ | << | ||
+ | << | ||
+ | << | ||
+ | </ | ||
+ | - in the Data Merge Manager toolbar -> Word Field, click and drag the " | ||
+ | - when the dialog appears, select the ADDRESS2 field name (not available from the example above), and for the Comparison select "is not blank" | ||
+ | - in the " | ||
+ | * Why did we type an X? Because pressing return or enter will close this dialog without adding a line break. | ||
+ | - you should see your X between the << | ||
+ | - right click your X, and select " | ||
+ | - you should see your X change to "{ IF ADDRESS1<>"" | ||
+ | - highlight this X and press return, (the return will make a line break replace the X) so your finished work should now look like this:< | ||
+ | << | ||
+ | << | ||
+ | " "" | ||
+ | << | ||
+ | </ | ||
+ | - it might look intimidating, | ||
+ | |||
+ | |||
+ | ==== Advanced - Preview Section of Data Merge Manager ==== | ||
+ | |||
+ | The Mac version of Word has a nice Preview section of the Data Merge Manager toolbar which allows you to see individual records prior to printing or merging into a finished document. | ||