How to reply in HTML format automatically in Outlook?
In Microsoft Outlook, we can configure settings and compose all new messages in HTML format, but can’t reply messages in HTMT format automatically, because it always reply in the initial format of received messages. This article will introduce you tricks about replying in HTML format automatically in Outlook.
It is easy to convert the formats of Plain Text or Rich text to the HTML format when you are replying an email message in Outlook.
Step 1: Select the email message that you will reply later.
Step 2: Click the Reply button on the Home tab (or on the Toolbar in Outlook 2007) to reply the selected email message.
Step 3: Click the HTML on the Format Text tab (or Options tab in Outlook 2007).
Then the replying message is converted to the HTML format immediately.
Step 4: Compose this replying message, and click the Send button.
The following method will help you reply all email messages in the HTML format automatically in Microsoft Outlook.
Step 1: Select the email message that you will reply in the HTML format.
Step 2: Press the Alt + F11 keys to open the Microsoft Visual Basic for Applications window.
Step 3: Click the Insert > Module.
Step 4: Paste the following code into the new module window.
Sub AlwaysReplyInHTML() Dim oSelection As Outlook.Selection Dim oItem As Object 'Get the selected item Select Case TypeName(Application.ActiveWindow) Case "Explorer" Set oSelection = Application.ActiveExplorer.Selection If oSelection.Count > 0 Then Set oItem = oSelection.Item(1) Else MsgBox "Please select an item first!", vbCritical, "Reply in HTML" Exit Sub End If Case "Inspector" Set oItem = Application.ActiveInspector.CurrentItem Case Else MsgBox "Unsupported Window type." & vbNewLine & "Please select or open an item first.", _ vbCritical, "Reply in HTML" Exit Sub End Select Dim oMsg As Outlook.MailItem Dim oMsgReply As Outlook.MailItem Dim bPlainText As Boolean 'Change the message format and reply If oItem.Class = olMail Then Set oMsg = oItem If oMsg.BodyFormat = olFormatPlain Then bPlainText = True End If oMsg.BodyFormat = olFormatHTML Set oMsgReply = oMsg.Reply If bIsPlainText = True Then oMsg.BodyFormat = olFormatPlain End If oMsg.Close (olSave) oMsgReply.Display 'Selected item isn't a mail item Else MsgBox "No message item selected. Please select a message first.", _ vbCritical, "Reply in HTML" Exit Sub End If 'Cleanup Set oMsgReply = Nothing Set oMsg = Nothing Set oItem = Nothing Set oSelection = Nothing End Sub
Step 5: Press the F5 key to run this macro.
Then it opens the replying window, and the replying message is in the HTML format.
Step 6: Compose the replying message, and click the Send button.
Here I recommend you a handy utility – Fixed Reply Formatting of Kutools for Outlook. With this utility, you can easily specify a reply formatting such as HTML, plain text and RTF, and fix the specified formatting as the reply format for all future reply emails.
1. Click Kutools > Fixed Reply Formatting > Set Reply Formatting. See screenshot:
2. In the Set Reply Formatting dialog box, select HTML or other reply formatting as you need, and click the OK button. Then click the OK button in the next popping up success dialog box.
3. Now you just need to click Fixed Reply Formatting > Enable Fixed Reply Formatting to make the utility take effect. See screenshot:
If you want to have a free trial of this utility, please go to free download the software first, and then go to apply the operation according above steps.
Recommended Productivity Tools
- Complicated and repeated operations can be done a one-time processing in seconds.
- Forward multiple emails individually with one-click, and auto forward by rules.
- Auto CC/BCC every sending email and easy for customizing rules, and auto reply without requiring exchange server.
- Powerful junk emails filter, remove duplicate emails, reply with attachment, bunch of one-click operations, and so on...
- 60-day unlimited free trial. 60-day money back guarantee. 2 years free upgrade and support. Buy once, use forever.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 1 years agoRunning the macro works for one instance, but how to replicate it to occur on every instance?
To post as a guest, your comment is unpublished.· 1 years agoI followed all of the steps listed about but when I press F5 to run the Module I get an error message saying that the Macros for this project have been disabled. I even tried going into Outlooks settings and telling Outlook to enable all Macros. Any help would be greatly appreciated!
To post as a guest, your comment is unpublished.· 1 years agoThanks a lot for this macro!
To post as a guest, your comment is unpublished.
To post as a guest, your comment is unpublished.· 1 years agoPlease, do you know the appropriate 'Alt F11' and 'F5' keys when using Outlook 2016 on a Mac?
This sure is an annoying omission by Microsoft. Many thanks. Hope you can help.