|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Incorporating Word letter merge into VB6 appHello -
I need to create letter merges in a VB6 application by using MS Word and supplying the name and address from a Sql Server 2005 database. Can anyone point me in the direction of how to do this? Any help will be greatly appreciated! -- Sandy "Sandy" <Sa***@discussions.microsoft.com> wrote in message
http://support.microsoft.com/kb/285176
news:906E9CC3-F1E5-470A-AB8A-6C02A5060DB2@microsoft.com... > Hello - > > I need to create letter merges in a VB6 application by using MS Word and > supplying the name and address from a Sql Server 2005 database. > > Can anyone point me in the direction of how to do this? Any help will be > greatly appreciated! > > -- > Sandy http://support.microsoft.com/kb/258512/ With the latter, note than you can easily replace the text file with any datasource - an ADO Recordset from a store procedure, for example. There are lots of ways to skin this cat. Also you didn't mention what version of Word you are using. There are subtle differences in mail merge between them. So be on the lookout. One of the easiest ways to figure out how to 'automate' any Office product is to create a keystroke Macro (VBA) in the product and then examine the generated code. (The code is often ugly and inefficient - but always informative. <g>) hth -ralph
Stop loading data process
Application crashing - trying to track down the problem. Data Type String VB6 App Deployment in Vista Convert decimal to fraction string Looking for an easy way to achive this problem. VB6 User Control next problem email attachments? Vb6 to check if a text file is already opened Date Picker Control |
|||||||||||||||||||||||