Macro that Email different html template with image Header and Footer

noelpahati10

Board Regular
Joined
Jul 23, 2015
Messages
73
[TABLE="width: 100"]
<tbody>[TR]
[TD]Serial[/TD]
[TD]Activation[/TD]
[TD]Request Code[/TD]
[TD]Email[/TD]
[TD]Type[/TD]
[/TR]
[TR]
[TD]12345[/TD]
[TD]54321d[/TD]
[TD]ASD432[/TD]
[TD]emailname1@gmail.com[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]54321[/TD]
[TD]12345c[/TD]
[TD]QWE567[/TD]
[TD]emailname2@gmail.com[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]67890[/TD]
[TD]1q2er3[/TD]
[TD]124WER[/TD]
[TD]emailname3@gmail.com[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]80767[/TD]
[TD]t56yt4[/TD]
[TD]BVC123[/TD]
[TD]emailname4@gmail.com[/TD]
[TD]D[/TD]
[/TR]
</tbody>[/TABLE]

Any one knows how to make a macro that will send email to all email listed on the table.
then create a html template depending on its Type?
the template header and footer has image on it ty.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Output example
blue_header_s.jpg


Hi Mr. Excel

Just want to give you the following details:

Serial : 12345
Activation: 546321d
Request Code: ASD432

Regards,
Member

blue_header_s.jpg
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,208
Members
452,618
Latest member
Tam84

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