store formatted cell into variable..

vini1508

New Member
Joined
Feb 8, 2016
Messages
29
I want to store the formatted cell into a variable and then send that value into mail as body text..

eg:- i have a sheet in which i have a row give below, i just want to save the data as per it is formatted into a variable and then want to send as body text in mail..

Hello Sir,this is Importantmailto be sentfor verificationplease reply

<tbody>
</tbody>

at this moment i'm going through each column and appending each cell value into variable called rdata.
but the data is stored without format.. and i'm passing rdata value to .body attribute to be send as body text of mail.. please help i want to preserve the formatting into variable
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,813
Messages
6,121,706
Members
449,049
Latest member
THMarana

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