A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Error "The operation failed" occurs only when Outlook is closed.



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old March 13th 08, 08:22 PM posted to microsoft.public.outlook.program_vba
Dugutigi
external usenet poster
 
Posts: 4
Default Error "The operation failed" occurs only when Outlook is closed.

I'm using Visual Basic to create and send a message thru Outlook 2003. It
has worked perfectly for over a year at multiple sites, and works whether or
not the user has Outlook open.

However, I have one site where an error occurs only if Outlook is closed.
If Outlook is open, the message is sent just fine. If Outlook is closed, the
user recieves an error message "The operation failed" upon execution of the
following line:

Set objOutlookMailItem = objOutlook.CreateItem(olMailItem)

This is very perplexing because it is only happening at one of over 100
sites. Any help will be greatly appreciated. Thanks.
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Operation Failed" error message Scoopwash Outlook - Using Contacts 2 November 26th 07 04:15 AM
Send/receive error: "Operation failed. Object could not be found" RC in Washington Outlook - Installation 0 June 25th 07 05:41 AM
"operation failed" error Mark Outlook - General Queries 1 June 4th 07 04:49 PM
"operation failed" error sherrycp Outlook - Using Contacts 1 July 22nd 06 02:42 AM
Resource Scheduling Error "The Operation Failed" outlook 2003. kunalotron Outlook - General Queries 0 March 21st 06 11:05 PM


All times are GMT +1. The time now is 03:37 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.