Hi,
I have a bit of code (below) to add a formatted text string to an existing email. I would like to be able to edit the text and the email after inserting it. Presently everything works good, except that I have to run the "Edit Message" command as a separate action after the macro is done inserting the text. Thanks in advance for your help.
Set olItem = ActiveExplorer.Selection.Item(1)
With olItem
' "String" is a substitution for the formatted string portion which is constructed elsewhere in the program
.HTMLBody = "String" & olItem.HTMLBody
.Display
End With
Set olItem = Nothing
I have a bit of code (below) to add a formatted text string to an existing email. I would like to be able to edit the text and the email after inserting it. Presently everything works good, except that I have to run the "Edit Message" command as a separate action after the macro is done inserting the text. Thanks in advance for your help.
Set olItem = ActiveExplorer.Selection.Item(1)
With olItem
' "String" is a substitution for the formatted string portion which is constructed elsewhere in the program
.HTMLBody = "String" & olItem.HTMLBody
.Display
End With
Set olItem = Nothing