PC Review


Reply
Thread Tools Rate Thread

Macro to insert text in reply email:

 
 
New Member
Join Date: May 2012
Posts: 1
 
      25th May 2012
I have a macro that inserts text into a email. The problem is the macro will not insert the text into a reply email. What am i doing wrong? (outlook 2003)

Sub Assign()

Dim olExplorer As Explorer
Dim olSelection As Selection
Dim email As MailItem

Set olExplorer = Application.ActiveExplorer
Set olSelection = olExplorer.Selection
Set email = olSelection.Item(1)

email.Body = email.Body & "#assign"

End Sub
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rule: "Reply using a specific template" doesn't reply to Reply-To: =?Utf-8?B?bWhncmVlbmU=?= Microsoft Outlook VBA Programming 8 4th Sep 2010 03:58 PM
Can't type text in Reply. Can't send reply. new XP computer only =?Utf-8?B?SmVmZg==?= Microsoft Outlook Discussion 1 21st Jul 2007 09:45 PM
Reply msg unformatted text creates unformatted reply msg, no HTML =?Utf-8?B?Z2FieXNhbmQ3?= Microsoft Outlook Discussion 2 4th Jul 2005 09:56 PM
Why is the reply text of messages missing when people reply to my. =?Utf-8?B?YWxpY2lhc3c=?= Microsoft Outlook Discussion 10 22nd Feb 2005 04:41 PM
How to create macro for the reply e-mail and add a new message on the reply e-mail Hung Andy Microsoft Outlook VBA Programming 0 26th Nov 2003 01:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:45 PM.