PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming GURU Help Needed! Error on Move

Reply

GURU Help Needed! Error on Move

 
Thread Tools Rate Thread
Old 26-04-2004, 10:19 PM   #1
Sanjay Singh
Guest
 
Posts: n/a
Default GURU Help Needed! Error on Move


I found the following error occurs with Outlook VBA.

If a user marks a received e-mail as complete (which I did accidently in
Outlook 2003) then the following code will fail

oMailItem.Move fld

(oMailItem and fld are of the appropriate types - code works as long as the
received e-mail is not marked as complete)

The error message displayed says "Unsent message cannot be marked complete"

How can I get around this.

Thanks in advance
Sanjay




  Reply With Quote
Old 27-04-2004, 02:34 PM   #2
Ken Slovak - [MVP - Outlook]
Guest
 
Posts: n/a
Default Re: GURU Help Needed! Error on Move

That's a bug in Outlook 2003 that I reported to MS a while ago. The only
workaround other than not marking an email as complete is to mark it not
complete.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Sanjay Singh" <sanjays@standss.com.fj> wrote in message
news:%23VplgQ9KEHA.2660@TK2MSFTNGP09.phx.gbl...
> I found the following error occurs with Outlook VBA.
>
> If a user marks a received e-mail as complete (which I did accidently in
> Outlook 2003) then the following code will fail
>
> oMailItem.Move fld
>
> (oMailItem and fld are of the appropriate types - code works as long as

the
> received e-mail is not marked as complete)
>
> The error message displayed says "Unsent message cannot be marked

complete"
>
> How can I get around this.
>
> Thanks in advance
> Sanjay
>
>
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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