Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-25-2009, 05:20 AM
djurmann djurmann is offline Outlook 2007 VBA Windows XP Outlook 2007 VBA Office 2007
Novice
Outlook 2007 VBA
 
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
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2007 VBA 2 Accounts in Outlook 2007 Dublinguy Outlook 3 02-14-2009 04:15 AM
Outlook 2007 VBA HELP!! With Outlook 2007. STILL not working jbiggs Office 1 02-12-2009 09:02 AM
Outlook 2007 jbiggs Office 0 02-09-2009 11:43 PM
Office outlook 2007 CH2008 Outlook 0 04-22-2008 02:35 AM
Outlook 2007 won't run MG Outlook 2 10-24-2007 05:24 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft