Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Skydaver Skydaver is offline
external usenet poster
 
Posts: 3
Default Yet Another Mail Merge Attachment Question

I've attempted to follow the instructions in Doug Robbins article, but I'm a
total Word & VBA tryo.

When I attempt to run the macro, I get an error that a user object is not
defined, and I'm taken to this line in the macro:
Dim oOutlookApp As Outlook.Application

I'm using Word & Outlook 2007, and I checked that the Microsoft Office
Outlook 12.0 Object Library is referenced.


  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Skydaver Skydaver is offline
external usenet poster
 
Posts: 3
Default Yet Another Mail Merge Attachment Question

A correction to what I wrote
Minor correction. Tyro, not tryo. Although perhaps even tyro expresses
more experience than I really have.

Major correction.
I do NOT have Microsoft Office Outlook 12.0 Object library checked.

It doesn't seem to be available in the choices. Where might I find such a
beast?

"Skydaver" wrote:

I've attempted to follow the instructions in Doug Robbins article, but I'm a
total Word & VBA tryo.

When I attempt to run the macro, I get an error that a user object is not
defined, and I'm taken to this line in the macro:
Dim oOutlookApp As Outlook.Application

I'm using Word & Outlook 2007, and I checked that the Microsoft Office
Outlook 12.0 Object Library is referenced.


  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Skydaver Skydaver is offline
external usenet poster
 
Posts: 3
Default Yet Another Mail Merge Attachment Question

Replying to myself again. Sheesh.

I found the Outlook Object library, and got things working. I don't know
why, and it's probably not worth the effort to find out, but our installation
of Word does not list the Outlook object library when you open up the Macros
& VBA from Word.

I opened up Macros in Outlook, saw the location of the Outlook library, went
back to Word, did a browse in the References, added MSOUTL.odb (unsure of the
extension), and that did the trick.

You experts could have done this quickly, but this is the most advanced
thing I've done in Word & Outlook ;-)

"Skydaver" wrote:

A correction to what I wrote
Minor correction. Tyro, not tryo. Although perhaps even tyro expresses
more experience than I really have.

Major correction.
I do NOT have Microsoft Office Outlook 12.0 Object library checked.

It doesn't seem to be available in the choices. Where might I find such a
beast?

"Skydaver" wrote:

I've attempted to follow the instructions in Doug Robbins article, but I'm a
total Word & VBA tryo.

When I attempt to run the macro, I get an error that a user object is not
defined, and I'm taken to this line in the macro:
Dim oOutlookApp As Outlook.Application

I'm using Word & Outlook 2007, and I checked that the Microsoft Office
Outlook 12.0 Object Library is referenced.


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
mail merge attachment Chi-town Blues Mailmerge 1 November 11th 08 07:06 PM
Mail Merge mass mailing with e-mail sentence and attachment BL Mailmerge 1 August 23rd 08 06:29 AM
Mail Merge With Attachment Dale Mailmerge 3 May 13th 08 08:28 PM
Word Mail Merge to E-mail message with attachment? Frank D. Nicodem, Jr. Mailmerge 4 April 25th 07 07:01 PM
attachment and mail merge guy New Users 2 May 30th 06 03:05 PM


All times are GMT +1. The time now is 11:14 AM.

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"