Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

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.

Reply in HTML format manually with formatting

Reply in HTML format automatically with VBA

Always reply in HTML format automatically with Kutools for Outlook


Always reply in HTML format automatically with Kutools for Outlook:

With this Fixed Reply Formatting utility of Kutools for Outlook, you can easily change the reply format to HTML, plain text or RTF format as you need, and then always use the specified format to reply emails in the future. See screenshot:

  • Specify a fixed reply format
  • Enable the utility

Kutools for Outlook: with more than 40 handy Outlook add-ins, free to try with no limitation in 45 days. Download and free trial Now!


Reply in HTML format manually with formatting

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.


Reply in HTML format automatically with VBA

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.


Always reply in HTML format automatically with Kutools for Outlook

Kutools for Outlook : with more than 20 handy Outlook add-ins, free to try with no limitation in 45 days.

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.


Kutools for Outlook - Brings 100 Advanced Features to Outlook, and Make Work Much Easier!

  • Auto CC/BCC by rules when sending email; Auto Forward Multiple Emails by custom; Auto Reply without exchange server, and more automatic features...
  • BCC Warning - show message when you try to reply all if your mail address is in the BCC list; Remind When Missing Attachments, and more remind features...
  • Reply (All) With All Attachments in the mail conversation; Reply Many Emails in seconds; Auto Add Greeting when reply; Add Date into subject...
  • Attachment Tools: Manage All Attachments in All Mails, Auto Detach, Compress All, Rename All, Save All... Quick Report, Count Selected Mails...
  • Powerful Junk Emails by custom; Remove Duplicate Mails and Contacts... Enable you to do smarter, faster and better in Outlook.
shot kutools outlook kutools tab 1180x121
shot kutools outlook kutools plus tab 1180x121
 
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    kevin · 1 years ago
    Running 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.
    Natalie · 1 years ago
    I 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.
    antoine · 2 years ago
    Thanks a lot for this macro!
  • To post as a guest, your comment is unpublished.
    charlotte · 2 years ago
    this only changes the email i have selected. how do you change it for all emails?
  • To post as a guest, your comment is unpublished.
    Adrian Young · 2 years ago
    Please, 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.
  • To post as a guest, your comment is unpublished.
    John · 2 years ago
    Thanks, it worked. You are da man!
  • To post as a guest, your comment is unpublished.
    Clair · 2 years ago
    Thank you for this, but i am having issues.
    I copy/pasted and the number were put above the text when i pasted it and I got the error message - "compile error: invalid outside procedure"

    Then i tried to just erase the numbers and leave the test and got : Run time Error - could not send message. - I then clicked Debug and got the same error as others: Set oMsgReply = oMsg.Reply

    Thoughts?
    • To post as a guest, your comment is unpublished.
      Anthony · 2 years ago
      Dont open the email, only highlight it in outlook.
      Alt +F11
      insert the module
      F5
      New email should open as HTML to reply
  • To post as a guest, your comment is unpublished.
    Derar · 2 years ago
    Great Job.

    but in fact i have a small error that might be conflicting the running option:

    Set oMsgReply = oMsg.Reply

    can you tell me if you experience such an error related to above code line.

    rgds
  • To post as a guest, your comment is unpublished.
    Derar · 2 years ago
    great work

    but it is giving me an error:

    Set oMsgReply = oMsg.Reply

    couldn't sed msg
  • To post as a guest, your comment is unpublished.
    Justin · 2 years ago
    This seems to work on the sender I received the txt email from, but not for other senders. Do I have to rerun this for each sender?

    FYI, Outlook 365 for an Exchange mail account on machine running Windows 7.
  • To post as a guest, your comment is unpublished.
    Emily · 3 years ago
    I have been using and loving this for a month (thank you!), but today it broke. Other searching online tells me it might have been an Outlook update that broke it -- any ideas?
  • To post as a guest, your comment is unpublished.
    ronald · 4 years ago
    Superb, hero!

    It really works, save time and energy.
  • To post as a guest, your comment is unpublished.
    Shivin · 4 years ago
    You are a genius buddy!!! Thank you...
    I have got another question.. Do you know how to remove the paragraph markers when they automatically appear when composing a reply in outlook.

    Thank you
  • To post as a guest, your comment is unpublished.
    Curtis · 5 years ago
    YOU ARE A WIZARD!!! :lol:

    The VBA script works perfectly, no longer do I have to delete my signature, convert manually to HTML and then re-insert my signature on EVERY message I send!