Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Hi there,
Don't have much experience with Macros. I referred to the article from Doug Robbins - thanks so much. I've managed to make my way through his steps, but when I try running the macro in the active document it errors out with the following message - "Complie Error - User-defined type not defined." and highlights "oOutlookapp As Outlook.Application." In the setup, I did go into the Visual Basic Editor, References, Tools, and did verify that Microsoft Office Outlook 9.0 is already checked. Our system is Microsoft Office 2000. Any thoughts on why I'm receiving this message? |
#2
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
What happens in the Visual Basic editor if you type
Dim ooutlookapp as Outlook. that is Outlook followed by a period. Do you get a list of possibilities? -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "bwilli" wrote in message ... Hi there, Don't have much experience with Macros. I referred to the article from Doug Robbins - thanks so much. I've managed to make my way through his steps, but when I try running the macro in the active document it errors out with the following message - "Complie Error - User-defined type not defined." and highlights "oOutlookapp As Outlook.Application." In the setup, I did go into the Visual Basic Editor, References, Tools, and did verify that Microsoft Office Outlook 9.0 is already checked. Our system is Microsoft Office 2000. Any thoughts on why I'm receiving this message? |
#3
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Actually, the type in that line turns red and I get a "Compile Error:
Expected: Identifier." No list of options. "Doug Robbins - Word MVP" wrote: What happens in the Visual Basic editor if you type Dim ooutlookapp as Outlook. that is Outlook followed by a period. Do you get a list of possibilities? -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "bwilli" wrote in message ... Hi there, Don't have much experience with Macros. I referred to the article from Doug Robbins - thanks so much. I've managed to make my way through his steps, but when I try running the macro in the active document it errors out with the following message - "Complie Error - User-defined type not defined." and highlights "oOutlookapp As Outlook.Application." In the setup, I did go into the Visual Basic Editor, References, Tools, and did verify that Microsoft Office Outlook 9.0 is already checked. Our system is Microsoft Office 2000. Any thoughts on why I'm receiving this message? |
#4
![]()
Posted to microsoft.public.word.mailmerge.fields
|
|||
|
|||
![]()
Sounds like the Outlook Object Library has not been properly referenced.
-- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "bwilli" wrote in message ... Actually, the type in that line turns red and I get a "Compile Error: Expected: Identifier." No list of options. "Doug Robbins - Word MVP" wrote: What happens in the Visual Basic editor if you type Dim ooutlookapp as Outlook. that is Outlook followed by a period. Do you get a list of possibilities? -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP "bwilli" wrote in message ... Hi there, Don't have much experience with Macros. I referred to the article from Doug Robbins - thanks so much. I've managed to make my way through his steps, but when I try running the macro in the active document it errors out with the following message - "Complie Error - User-defined type not defined." and highlights "oOutlookapp As Outlook.Application." In the setup, I did go into the Visual Basic Editor, References, Tools, and did verify that Microsoft Office Outlook 9.0 is already checked. Our system is Microsoft Office 2000. Any thoughts on why I'm receiving this message? |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
NO CODE - mail merge to Outlook with attachment with CC | Mailmerge | |||
Mail Merge Losing Data | Mailmerge | |||
Mail Merge to E-mail with Attachments | Mailmerge | |||
mail merge with attachments | Mailmerge | |||
How do you add attachments in Word for mail merge emails? | Tables |