Microsoft Office Tutorials and References
In Depth Information
Mail Merge: Making Placecards Using WordArt
Button Name:
cmdInsertFieldDefault: True
Button Name:
cmdCloseCancel: True
Mail Merge: Making Placecards Using WordArt
Use this procedure to put the text result from a mail merge into a WordArt
object, and rotate every other one to create placecards.
Example file:
Scenario: Most recent versions of Word can rotate a
graphic object at any rotation angle. Text, however, can only
be rotated by 90 or 270 degrees; there is no way to make
text "stand on its head" except as part of a picture (NOT a
drawing object) or by using WordArt.
This makes using mail merge for creating things like
placecards something of a challenge. It is, of course, possible
to rotate the page, then rotate the merge text by 90 and 270
degrees, or to put the paper into the printer upside-down to
make a second printing pass. WordArt offers many ways to
make the cards more lively, original, and attractive.
This macro tool takes the mail merge result, places it into a
WordArt object, then rotates every other one, as shown in
the Associating a Picture with a Page procedure earlier in this
chapter on page 181.
View the Appendix to learn how to store this procedure
in a Standard module.
Option explicit¶
' * * * * *¶
Const AutoTextName = "WordArt"¶
' * * * * *¶
Sub MergePlacecards()¶
'Variable declaration¶
Dim docMain As Word.Document¶
Dim docResult As Word.Document¶
Dim tmpl As Word.Template¶
Dim tbl As Word.Table¶
Dim cel As Word.Cell¶
Search JabSto ::

Custom Search