View Single Post
 
Old 02-25-2009, 05:20 AM
djurmann djurmann is offline Windows XP Office 2007
Novice
 
Join Date: Feb 2009
Posts: 4
djurmann is on a distinguished road
Question Outlook 2007 VBA

Greetings!

I received this code from Sue Mosher MVP back in the days of office 2002.

It sends and then deletes a message from the sent items folder but does not seem to work for 2007.

Why not and how can I change it?

The Code is:


Sub SendAndDelete
On Error Resume Next
Set msg = Application.ActiveInspector.CurrentItem
msg.DeleteAfterSubmit = True
msg.Send
End Sub


Many thanks,

Danny
Reply With Quote