Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Divide word doc sections into word docs
Message
From
10/11/2009 17:11:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Divide word doc sections into word docs
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01434149
Message ID:
01434149
Views:
99
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
Next
Reply
Map
View

Click here to load this message in the networking platform