Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Late Binding with Outlook

I am trying to setup so I don't have to select the library in
Tools/references. I get "Run-time error 429: ActiveX component can't create
object". Isn't that correct to setup for a late binding?

Dim OutApp As Object
Dim OutMail As Object

Set OutApp = CreateObject("Object.Application")
Set OutMail = CreateObject("Outlook.MailItem")

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Late Binding with Outlook

I was able to find the fix from ron de bruin website
Change outmail to Set OutMail = OutApp.CreateItem(0)
However, I get the warning message from Outlook that the attachment may
contain virus. Is it possible to hide the warning message completely from
Excel VBA?

"matelot" wrote:

I am trying to setup so I don't have to select the library in
Tools/references. I get "Run-time error 429: ActiveX component can't create
object". Isn't that correct to setup for a late binding?

Dim OutApp As Object
Dim OutMail As Object

Set OutApp = CreateObject("Object.Application")
Set OutMail = CreateObject("Outlook.MailItem")

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Late Binding with Outlook

Shouldn't that be?

Set OutApp = CreateObject("Outlook.Application")

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"matelot" wrote:
|I am trying to setup so I don't have to select the library in
| Tools/references. I get "Run-time error 429: ActiveX component can't
create
| object". Isn't that correct to setup for a late binding?
|
| Dim OutApp As Object
| Dim OutMail As Object
|
| Set OutApp = CreateObject("Object.Application")
| Set OutMail = CreateObject("Outlook.MailItem")
|
| Thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 78
Default Late Binding with Outlook

Hi Matelot,

There is a thread 'Security Warning' in the Programming disussion group on
9/12/2006.
An add-in for Outlook may be of interest at
http://www.mapilab.com/outlook/security/

Anthony

"matelot" wrote:

I was able to find the fix from ron de bruin website
Change outmail to Set OutMail = OutApp.CreateItem(0)
However, I get the warning message from Outlook that the attachment may
contain virus. Is it possible to hide the warning message completely from
Excel VBA?

"matelot" wrote:

I am trying to setup so I don't have to select the library in
Tools/references. I get "Run-time error 429: ActiveX component can't create
object". Isn't that correct to setup for a late binding?

Dim OutApp As Object
Dim OutMail As Object

Set OutApp = CreateObject("Object.Application")
Set OutMail = CreateObject("Outlook.MailItem")

Thanks

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Late Binding to Outlook Web Apps 2003 from Excel 2000 Dave Benson Excel Programming 1 November 29th 05 03:59 PM
Late binding issues with Excel and Outlook Dave Benson Excel Programming 0 November 26th 05 03:00 AM
repost: need help trying to automate Outlook from XL, with late binding KR Excel Programming 5 January 6th 05 03:20 PM
Late Binding to Outlook from Excel: Outlook modifies email body Lenny Wintfeld Excel Programming 0 December 12th 04 04:03 PM
Creating a MailItem in Outlook from Excel using Late Binding Steven Kelder Excel Programming 3 December 17th 03 05:34 PM


All times are GMT +1. The time now is 03:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"