![]() |
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
|
|||
|
|||
![]()
Dear Ladies and Gentlemen,
I am trying to program on option for Outlook which will send a message and then delete the message from the sent items folder. Useful for all those emails that just say "thank you". We use an email server but I assume this will not make a huge difference. Any help much appreciated. I have just started with VBA in Excel, so all very new. Kind regards, Danny |
#2
|
|||
|
|||
![]()
For lots of information about coding for Outlook see www.outlookcode.com.
The Outlook MailItem object has a Boolean property DeleteAfterSubmit. If that is set to True then no copy of the sent item is placed in the Sent Items folder. That would save having to locate the new item in Sent Items, deleting it and then going to Deleted Items and deleting it in that folder. You set the property before the item is sent out. For programming questions like this you are best off posting in the microsoft.public.outlook.program_vba group, more of us developers hang out there. -- 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 wrote in message ps.com... Dear Ladies and Gentlemen, I am trying to program on option for Outlook which will send a message and then delete the message from the sent items folder. Useful for all those emails that just say "thank you". We use an email server but I assume this will not make a huge difference. Any help much appreciated. I have just started with VBA in Excel, so all very new. Kind regards, Danny |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Storing a value for later use in vba or a Macro | Jack G | Outlook and VBA | 1 | June 8th 06 04:34 PM |
vba macro to print email and attachments outlook 2000 | Dan over in IT | Outlook and VBA | 2 | June 7th 06 08:08 PM |
Automatically trigger a VBA macro to run when connection to exchange server has been made. | [email protected] | Outlook and VBA | 1 | January 30th 06 10:29 PM |
Automatically trigger a VBA macro to run when connection to exchange server has been made. | [email protected] | Outlook and VBA | 0 | January 25th 06 08:52 PM |
Delete Custom Outlook Control thru Access VBA | Sue Mosher [MVP-Outlook] | Outlook - Using Forms | 0 | January 20th 06 05:29 PM |