Hi Wilson,
Go to the Knowledgeg Base on microsoft.com and search something like
HOWTO AND Wd2002 AND MAILMERGE AND LABELS AND VB
There's a HowTo article written for Visual Basic that gives you the basic
code you need for specifying the type of label, creating the label sheet,
etc. (*Please* feel free to then change the sample code on how to fill that
labels, using Range instead of Selection!)
Note that just setting your merge type to "Label" does NOT give you a label
sheet. You first need to create this, then start with the merge type, etc.
I am finishing an app and the last stages are to add some documents with
mail merge thru
automation. I have managed to hack my way through Word with VFP and the
documents.
The last hurdle is the label code and mail merge. Individual etters went
ok. I am trying to figure out out how to automate the labels and letters
with mail merge.
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.word.mvps.org
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail