View Single Post
  #2  
Old October 15th 07, 08:28 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Can this be done through VBA-code

If the item is a meeting you can set Appointment.MeetingStatus =
OlMeetingStatus.olMeetingCanceled.

For a task you can delete them but if a task has been assigned you can't
cancel it because it's now owned by someone else. All you could do is delete
the assignor copy.

Trying to recall an email almost never works, only will work if the email
has been sent within an Exchange organization and hasn't been read yet. I'd
forget about that one.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Maurice" wrote in message
...
Hi,

Is it possible to retract let's say a mail through VBA. In addition to
that
I have three options the usual ones; tasks, appointments and mail.

I add a record in an Access database and automate through Outlook. Works
like a charm (thanks Ken..). Now if I wanted to cancel the appointment
which
I've added in my database i want to go to the sent items folder and find
the
specific appointment (based on the recordset ID - I've added that to the
appointment). When I've found it I would like to cancel this appointment.
How
can I do that via VBA. I guess the same applies for tasks and mail.

I know it's a lot to ask but a few pointers would be sufficient...

Thanks in advance
--
Maurice Ausum


Ads