Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combining multiple word documents into one
Message
From
05/04/2004 17:58:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Combining multiple word documents into one
Miscellaneous
Thread ID:
00892459
Message ID:
00892459
Views:
62
I have a situation where I'm generating 4 word documents from within a VFP app. All four have their own page numbering ('x' of 'y'). Each document has multiple sections, because of terms and conditions.

I've been asked to write something that will combine all four into one document...but still retaining separate 'page x of y' on each of the four sections.

I'm going to figure out from the Tamar/Della book how to accomplish this, but it seems I need to do something like the following.

- Create a blank doc
- insert doc 1
- go to the bottom, insert a new page break and a new section, break, and reset to a one-section column (end of doc 1 has 2 columns, but beginning of doc 2 goes back to one column)
- insert doc 2, and keep repeating

Has anyone else tried this? If so, any 'gotchas' to be aware of?

Thanks,
Kevin
Next
Reply
Map
View

Click here to load this message in the networking platform