Using ReplyAll and a .oft email template as the body of the email. Possible?

adamkhanrfc

New Member
Joined
Sep 27, 2016
Messages
2
Hi guys,

Wondering if you could help. I have this piece of code:

Code:
Sub ReplyAllEmail()

Dim EmailWordings As Excel.Worksheet
Dim mail 'object/mail item iterator
Dim ReplyAll 'object which will represent the reply email


Set EmailWordings = ThisWorkbook.Sheets("EmailWordings")


For Each mail In Outlook.Application.ActiveExplorer.Selection
    If mail.Class = olmail Then
        Set ReplyAll = mail.ReplyAll
        With ReplyAll
            .HTMLBody = EmailWordings.Range("D6")
            .Display
        End With
    End If
Next


End Sub

I was wondering if anyone could help with incorporating, somehow, to add a email template i have saved on a shared drive as the body of the email? Is it possible? So when i click on this piece of coding, it should pop up with an email with reply all recipients and the template already there as the body of the email, ready to send.

Any help would be appreciated.

Thanks,

Adam
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,214,943
Messages
6,122,380
Members
449,080
Latest member
Armadillos

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top