Hi,
The below is part of a larger macro than generates an e-mail with an image from an Excel sheet as well as some text and the file as an attachment.
Set OutMail = OutApp.CreateItem(0)
With OutMail
Set olInsp = .GetInspector
Set wdDoc = olInsp.WordEditor
Set oRng...
I have the code bellow to create an e-mail.
My code works fine to edit, select and paste the table into the e-mail.
My problem is to copy images from the htm file to the e-mail.
The htm file has the images exactly as I need.
Function RangetoHTML(rng As Range)
Dim fso As Object
Dim ts...
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.