![]() |
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
|
|||
|
|||
![]()
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 |
#2
|
|||
|
|||
![]()
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 |
#3
|
|||
|
|||
![]()
Ken,
Thanks again for the explanation, i'll play around with it. The pointers are very clear. The mailoption wasn't really an option I would have considered.. cheers ;-) Maurice -- Maurice Ausum "Ken Slovak - [MVP - Outlook]" wrote: 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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
if code | Joel Allen | Outlook and VBA | 1 | May 31st 07 05:43 AM |
key code help | Clive | Outlook - Installation | 2 | October 5th 06 10:14 AM |
add 1+XXX area code to phone nr in my area code | OH | Outlook - Using Contacts | 3 | August 3rd 06 03:45 PM |
Code | Joel Allen | Outlook - Using Forms | 0 | February 1st 06 06:32 PM |
code : Code : 800cccd2 | scotty971fr | Outlook Express | 1 | January 19th 06 11:59 PM |