P
Paul Brett
Hi,
I'm trying to use VBA to create graphical headers/footers in Outlook
emails, using embedded rather than linked images. I have tried to follow
the instructions on Slipstick.com here:
http://www.slipstick.com/dev/code/htmlimg.htm
However, I get compile/run time errors for all the lines that include
MAPI, such as:
Dim oSession As MAPI.Session
Dim oMsg As MAPI.Message
these all give "Compile error: User-defined type not defined"
Here's my setup:
Windows XP HE
Outlook 2002 SP-2
Microsoft CDO for Windows 2000 Library
Microsoft ActiveX Data Objects 2.7 Library
(also have Office, Word, Outlook, OLE & VBE Libraries referenced)
Am I missing an important Class Library? Any ideas where I'm going
wrong?
Thanks,
I'm trying to use VBA to create graphical headers/footers in Outlook
emails, using embedded rather than linked images. I have tried to follow
the instructions on Slipstick.com here:
http://www.slipstick.com/dev/code/htmlimg.htm
However, I get compile/run time errors for all the lines that include
MAPI, such as:
Dim oSession As MAPI.Session
Dim oMsg As MAPI.Message
these all give "Compile error: User-defined type not defined"
Here's my setup:
Windows XP HE
Outlook 2002 SP-2
Microsoft CDO for Windows 2000 Library
Microsoft ActiveX Data Objects 2.7 Library
(also have Office, Word, Outlook, OLE & VBE Libraries referenced)
Am I missing an important Class Library? Any ideas where I'm going
wrong?
Thanks,