![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Outllook 2003 on XP Pro
I am trying to open Outlook and crate a message from Excel VBA module and I am getting the following error The Operation failed. - -2147287037: In RunExportProgram Function (Every thing works fine if Outlook is already open, but not when it's closed) The same code works fine on other computers even when Outlook is closed. Here's the code: Dim OutlookApp As Object Set OutlookApp = CreateObject("Outlook.Application") Set Message = OutlookApp.Application.CreateItem(0) ' -- This is where the error occurs Thanks Peter |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automate Outlook username and server | Sam Stamp | Outlook - Installation | 2 | December 13th 07 07:02 AM |
automate Outlook..insert signiture | SAm | Outlook and VBA | 1 | July 25th 07 10:24 PM |
Outlook to read emails and automate to do some work | Chirag Chokshi | Outlook and VBA | 1 | July 3rd 07 04:32 PM |
Automate email and attach excel worksheet or workbook | wilma2299 | Outlook and VBA | 3 | April 13th 07 06:06 AM |
Automate Outlook Profiles ... Newprof and PRF | DemoDog | Outlook - Installation | 3 | January 17th 06 02:06 PM |