kcitti
04-29-2016, 10:57 AM
Hi All,
Very, very new to VBA. Created a macro in Outlook that contains a template. I want to be able to reply to an email with a template, appending "Please Complete Template:" to the original subject line and keeping the message history just like a normal email reply. Instead the macro I have creates a new email containing the template. I'm sure it's an easy fix.
In short - I want to reply to a message as usual, keeping the message history, but include a form via macro rather than finding it and inserting it, and appending "Please Complete Template:" to the beginning of the email.
Current macro:
Sub MAP()
Set msg = Application.CreateItemFromTemplate("C:\Users\redacted\AppData\Roaming\Microsoft\Templates\Map.oft")
msg.Display
Attachments.Add Item
End Sub
Example:
Receive Mail
to ktiatoutlook.com
from XYZatoutlook.com
Subject: Do this please
Hi KTI please do this for me.
----------------------
I want to manually open and review email, then click a macro to send boilerplate response, like so:
Reply Mail
to: XYZatoutlook.com
from KTIatoutlook.com
Subject: Please Complete Template - Re: Do this please
<insert template here (macro above>
<maintain original message here >
Very, very new to VBA. Created a macro in Outlook that contains a template. I want to be able to reply to an email with a template, appending "Please Complete Template:" to the original subject line and keeping the message history just like a normal email reply. Instead the macro I have creates a new email containing the template. I'm sure it's an easy fix.
In short - I want to reply to a message as usual, keeping the message history, but include a form via macro rather than finding it and inserting it, and appending "Please Complete Template:" to the beginning of the email.
Current macro:
Sub MAP()
Set msg = Application.CreateItemFromTemplate("C:\Users\redacted\AppData\Roaming\Microsoft\Templates\Map.oft")
msg.Display
Attachments.Add Item
End Sub
Example:
Receive Mail
to ktiatoutlook.com
from XYZatoutlook.com
Subject: Do this please
Hi KTI please do this for me.
----------------------
I want to manually open and review email, then click a macro to send boilerplate response, like so:
Reply Mail
to: XYZatoutlook.com
from KTIatoutlook.com
Subject: Please Complete Template - Re: Do this please
<insert template here (macro above>
<maintain original message here >