Forward an outlook email from an excel macro

Yoan_Geneva

New Member
Joined
Nov 8, 2018
Messages
1
Dear members,

I am trying to forward an outlook email to multiple adresses with a vba macro in excel.

Why in excel ? Becase all the email adresses are in the excel file.

I want to forward an email that I received. I want to forward the exact same email (i.e. without the usual lines when you click "forward" in outlook

From: Martin Dupont
Sent: Thursday...
To: Martin Dupont
Subject: Test

For now, I have the following code:
Code:
Sub Forward_Current_Email

Dim outForward as Outlook.MailItem

Set outForward= ActiveExplorer.Selection.item(1)

outForward.display
outforward.to="martin.dupont@hotmail.fr"
outForward.send

End sub

But with this code I can't manipulate the body of the email (i.e. I can't delete the lines that appear when you forward an email).

Thanks for your help.
Yoan
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,215,131
Messages
6,123,223
Members
449,091
Latest member
jeremy_bp001

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