ngkatsaras
Member
- Outlook version
- Outlook 2010 64 bit
- Email Account
- Exchange Server
I created an Outlook message template file (OFT), there is a pre-formatted message where the message body contains a couple of field codes as follows:
Dear {FILLIN "Recipient's name"}:
blah blah blah
Kind regards,
{FILLIN "Sender's name"}
This works fine except that whenever I open the template, the fields do not automatically prompt me to update. For now I have instructed the users to do CTRL+A then F9 which will then prompt the user to input the data to be merged into the fields. But that is not as elegant as I would like.
I found out that in a Word template file you could do a macro as follows that will automatically prompt the user for input to define the field codes:
Sub AutoNew()
ActiveDocument.Fields.Update
End Sub
However, I don't seem to be able to get that to work with the OFT file.
I also tried naming the Sub AutoOpen() but that didn't work either.
Your assistance is greatly appreciated in advance.
Kind regards,
Nick K.
Dear {FILLIN "Recipient's name"}:
blah blah blah
Kind regards,
{FILLIN "Sender's name"}
This works fine except that whenever I open the template, the fields do not automatically prompt me to update. For now I have instructed the users to do CTRL+A then F9 which will then prompt the user to input the data to be merged into the fields. But that is not as elegant as I would like.
I found out that in a Word template file you could do a macro as follows that will automatically prompt the user for input to define the field codes:
Sub AutoNew()
ActiveDocument.Fields.Update
End Sub
However, I don't seem to be able to get that to work with the OFT file.
I also tried naming the Sub AutoOpen() but that didn't work either.
Your assistance is greatly appreciated in advance.
Kind regards,
Nick K.