View Single Post
  #2  
Old October 22nd 08, 12:29 PM posted to microsoft.public.outlook.program_vba
Alan Moseley
external usenet poster
 
Posts: 61
Default VBA to delete message after reply

Try putting all of the code into the ThisOutlookSession code window rather
than a module window.

--
Alan Moseley IT Consultancy
http://www.amitc.co.uk

If I have solved your problem, please click Yes below. Thanks.


"DKY" wrote:


I'm trying to find some VBA that will move the original message to the
deleted folder after I reply and have stumbled across this website.
http://tinyurl.com/65kjz9
After installing the code it turns the following red

Code:
--------------------
Private WithEvents ReplyButton As Office.CommandBarButton
Private WithEvents m_Inspectors As Outlook.Inspectors
--------------------

This code doesn't seem to work and I'm thinking the red may be why.
Any help is greatly appreciated.

FYI I have also posted at the following websites.

http://www.outlookcode.com/threads.a...essageid=28233

http://www.vbaexpress.com/forum/show...500#post163500




--
DKY

Ads