Adding Excel Range in Outlook Message Body

Excel313

New Member
Joined
May 1, 2007
Messages
22
Hi guys,

I need to extract a range of cells from Excel and mail it by adding it to Outlook Message Body. The code needs to be run from Excel, not Outlook. I have actually managed to do so using the inbuilt MailEnvelope property of Excel but it shows the undesired warning that Outlook is being called by an external program..

I had earlier used Redemption Library to get around this problem, but for another code using the plain old VBA. (I had sent Excel worksheet as an attachment.) I tried re-using the same code - adding the Excel Range to the Message Body (HTMLBody) - but it didnt work.

What would be the best approach to go forward with? Any suggestions would be welcome...
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi vconfused, thanks for the suggestion. However, I am not looking for a third-party software to do the job for me...

Many thanks SydneyGeek, I got what i wanted... :)
 
Upvote 0

Forum statistics

Threads
1,225,335
Messages
6,184,332
Members
453,227
Latest member
Slainte

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