Need Help for VBA code to auto generate tables

Rishi_Yagna

New Member
Joined
May 16, 2018
Messages
1
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Type[/TD]
[TD]Region[/TD]
[/TR]
[TR]
[TD]Type 1[/TD]
[TD]US[/TD]
[/TR]
[TR]
[TD]Type 2[/TD]
[TD]Canada[/TD]
[/TR]
[TR]
[TD]Type 3[/TD]
[TD]Mexico[/TD]
[/TR]
[TR]
[TD]Type 4[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]









Biometric Systems

Hi, I need some help in VBA code which can generate table using the above information.

For Example: I need here 4 tables:

Biometric Sytems Value in US by type

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Type[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]Type 1[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]Type 2[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]Type 3[/TD]
[TD]xx[/TD]
[/TR]
[TR]
[TD]Type 4[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]









And so on for Canada and Mexico

Thanks.
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,223,911
Messages
6,175,329
Members
452,635
Latest member
laura12345

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