Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
alvin Kuiper
 
Posts: n/a
Default Please help with error in code


Hi i try to use the script from
http://word.mvps.org/FAQs/MailMerge/...ttachments.htm

But when i run the macro i get this error:
Compile error

user-defined type is not defined

i get this error in line:
Dim oOutlookApp As Outlook.Application

I use office 2003

Regards alvin



  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
alvin Kuiper
 
Posts: n/a
Default Please help with error in code

Sorry
KNOW why now

Alvin


"alvin Kuiper" wrote:


Hi i try to use the script from
http://word.mvps.org/FAQs/MailMerge/...ttachments.htm

But when i run the macro i get this error:
Compile error

user-defined type is not defined

i get this error in line:
Dim oOutlookApp As Outlook.Application

I use office 2003

Regards alvin



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can not set column width by code Shaw Tables 1 December 17th 05 08:08 AM
Help! Mailmerge code for all selected records? Kara Mailmerge 1 October 12th 05 07:05 PM
Word Mailmerge does not display a ZIP code beginning with a zero. FredSC Mailmerge 3 August 27th 05 01:07 PM
adding the post code Louise Mailmerge 3 May 4th 05 06:27 PM
How do I use the PRINT field code to ... Dave Microsoft Word Help 3 December 13th 04 04:06 PM


All times are GMT +1. The time now is 02:52 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"