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 / Mailmerge and Fax / March 2005

Tip: Looking for answers? Try searching our database.

Programmatically merge into a merge document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Hlusak - 01 Mar 2005 21:27 GMT
I scanned the first few pages and didn't see my answer - sorry if this is a
repeat.

I'm looking to take a given set of data entered online and to present to the
user a merged letter (ideally as an image, PDF is OK too).

The first step of this, the part I'm unsure of that I'm hoping someone can
help, is to take that data set entered online and to end up with a merged
letter.

Thus I have the merge letter template, and the data source in memory, and
I'd like to get a merged word document. (At which point I can convert to
another format for the user). Can I do this programmatically (ideally
entirely via memory, without saving a data source file to disk) - and if so,
can you point me in the right direction?

Thanks kindly,
Chris Hlusak
Doug Robbins - 01 Mar 2005 23:58 GMT
I'm not really sure what you mean by "data entered online", but maybe what
you should be using is a template containing a userform that presents the
user with a form into which to enter the data and then, when they click on a
command button on the form, transfers the data to the required places in the
template either by inserting it into the .Range of bookmarks in the template
of by creating document variables to hold each piece of data and having it
displayed by { DOCVARIABLE } fields in the template.

See the article "How to create a Userform" at:

http://word.mvps.org/FAQs/Userforms/CreateAUserForm.htm

Signature

Please respond to the Newsgroup for the benefit of others who may be
interested.   Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP

>I scanned the first few pages and didn't see my answer - sorry if this is a
> repeat.
[quoted text clipped - 16 lines]
> Thanks kindly,
> Chris Hlusak
 
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.