Wrox Programmer Forums
|
BOOK: Excel 2007 VBA Programmer's Reference ISBN: 978-0-470-04643-2
This is the forum to discuss the Wrox book Excel 2007 VBA Programmer's Reference by John Green, Stephen Bullen, Rob Bovey, Michael Alexander; ISBN: 9780470046432
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Excel 2007 VBA Programmer's Reference ISBN: 978-0-470-04643-2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 19th, 2009, 03:13 AM
Registered User
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mail Merge using Excel data to produce merged word doc

Hi,

I'm trying to create an Excel macro to eventually produce a mail merge document in Word.

The macro should use the data of a particular row in the excel file and produce a mail merge document.

I have gone through the VBA 2007 programers reference, but the books gives the example of mail merge from ms access.

Any suggestions would be much appreciated.

Last edited by gauthamboppana; September 20th, 2009 at 01:40 AM..
 
Old January 10th, 2010, 06:19 PM
Registered User
 
Join Date: Jan 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I have not looked at the mail function yet, but guess if you set the reference to the outlook, word library, include your code, then insert into word the values from sheet rather than ms access should work also. You can define your variables to be values from cells e.g. strFirstName = Cells(1,2)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Send Mail thru Excel Macro Abhinav Excel VBA 14 May 15th, 2011 04:02 AM
Mail Excel sheet in outlook with original name. Europom Excel VBA 1 April 26th, 2009 10:11 PM
get perticular data from outlook mail into excel using VBA kulkasac Excel VBA 3 January 23rd, 2009 05:05 AM
Send mail and attachments with PHP mail function Lofa Beginning PHP 1 June 2nd, 2008 03:24 PM
Sending to mail recipient from Excel bowenj VB How-To 0 October 31st, 2003 11:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.