VBA to Post Excel Contents into MS Office Outlook 2010 Message

josephyschen89

New Member
Joined
Feb 20, 2018
Messages
1
Hi all, hope you can help me with the below. Thanks a mill!

I'm looking to post contents within a defined set of cells in table format (e.g. B2:E20), directly into a MS Office Outlook 2010 message i.e. I click a button in my spreadsheet and the table with related contents is automatically transposed into an outgoing MS message.

The issue I have is that while columns are fixed, the rows of the table are variable i.e. sometimes I may only have data for 2 line items, while other times I may have 20 line items.

Is there a way for code to detect the number of line items I have and transpose the table to outlook message window accordingly?

Thank you in advance for the help, I just learned VBA a month ago and am not well versed in coding for such a complex request.

Any help would be greatly appreciated :)
 

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