Macro to insert text in reply email:

Joined
May 25, 2012
Messages
1
Reaction score
0
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top