Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / May 2006

Tip: Looking for answers? Try searching our database.

Create one document from multiple templates called from a data fil

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DanS - 17 May 2006 17:56 GMT
Ok this is a macro I've inherited:

This macro, based on fields in a database file, selects different templates
according to the data. A template is opened as a new document and data fields
populated then saved as a new document. This macro creates a new document for
each record in the database, 500 records = 500 documents.

What I would like it to do:

I'd like the macro to create one document instead of the multiple it creates
now. So 500 records = 1 document with 500 pages. Again each page would be
based on the template selected by the data for that record.

This sounds simple to me but I have not been able to arrive at a solution.
Your input will be greatly appreciated.
Doug Robbins - Word MVP - 17 May 2006 21:07 GMT
No doubt it can be done.  It might be easier to help if you showed us the
macro.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> Ok this is a macro I've inherited:
>
[quoted text clipped - 15 lines]
> This sounds simple to me but I have not been able to arrive at a solution.
> Your input will be greatly appreciated.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.