A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Mail Merge - Office 2003



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old February 1st 06, 12:06 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Mail Merge - Office 2003

Did you add a reference to the Word library to your project?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


wrote in message ups.com...
Hello all,
I am attempting to automate a mail merge from MS Outlook 2003. I have
found some sample code here.

http://groups.google.ca/group/micros...13b1236c 846f

But am getting an error when I try to run it. This is my first attempt
in writing in Outlook and am feeling a little flustered so any thing
that you can offer would be appreciated. The error that I am getting is
"Compile error - user defined type not defined" and it is failing on
this line
Private Function fillbookmark(sBookmark As String, sValue As String, _
odoc As word.document) As Boolean


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail merge email - why so different in Office 03 from 2000 Sono Outlook - Using Contacts 2 March 4th 06 06:31 PM
Mail Merge Problem Donna in Idaho Outlook - Using Contacts 2 February 7th 06 10:04 AM
Contact Mail Merge WHGeorge Outlook - Using Contacts 1 January 18th 06 10:18 AM
Mail Merge - Office 2003 Ken Slovak - [MVP - Outlook] Outlook and VBA 1 January 16th 06 02:14 PM
Office 2003 AND Office XP - aka Office 2002 rrose selavy Outlook - General Queries 3 January 14th 06 10:14 AM


All times are GMT +1. The time now is 02:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.