Solved

Is it simple to implement a mail merge facility into VB? How would one go about doing it?

Posted on 2003-11-26
3
432 Views
Last Modified: 2010-04-17
I have a VB database program which is nearly completed and I was wondering how feasable it was to implement a mail merge facilty. How would I do this? Database is in Access.
0
Comment
Question by:matt_fennell
  • 2
3 Comments
 
LVL 10

Expert Comment

by:ADSaunders
ID: 9825215
Hi matt_fennell,
Presumably you want a mail merge from MS word..?
Simply (in Word) tools..Mail merge

Create your document then get data. You will be given the option to open Access databases, use MS Query etc.

Regards .. Alan
0
 

Author Comment

by:matt_fennell
ID: 9825513
Thanks Alan,
Would you know if there is any way you can do it directly from VB, code etc? Its just that Im trying to make the application as userfriendly as possible and therefore, if everything can be done from the program that would be great. For example when they carry out a search for dealers in the north, it would be great to then obviously click a command button which takes them straight to word and ready to type the letter and print.

Cheers
0
 
LVL 10

Accepted Solution

by:
ADSaunders earned 40 total points
ID: 9825591
I should think so, you'll need to use OLE automation to open Word and set up the data source etc., all doable with OLE and the Word Application object. I've not done it myself so I can't give you any further info, except to add the Word object to your project, and play with the object browser.

.. Alan
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
count8 challlenge 13 118
countAbc challenge 9 59
Controlled Assessment GCSE - desperate help needed 4 75
Auto-indent certain lines in Notepad++ 10 29
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
A short article about problems I had with the new location API and permissions in Marshmallow
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now