Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Divide word doc sections into word docs
Message
De
10/11/2009 17:11:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divide word doc sections into word docs
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01434149
Message ID:
01434149
Vues:
98
I received a letter which was created by mailmerge. each page is a section and a letter
I was asked to take each page and create an individual word documet

i figured out ho to access the sections with a for 1 to sections.count loop

lcText= oword.activedocument.Sections.Item[lnSectionCnt ].range.text
oRange = oword.activedocument.Sections.Item[lnSectionCnt ].range gives me an object

can I now create a worddoc with that object and save it??

Thanks


peter
Peter Cortiel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform