VBA to extract info form board

septimus

Board Regular
Joined
Nov 20, 2014
Messages
69
Hi all;
Please help me to generate VBA for this issue.
I have a excel table in Sheet1 (range H9: CNS2000)
Row 9 contain Title ( Ex : Size, Material, Adress,Age,Color,...)
Column H contain Name (Ex : A, B, C, D, E, F, G, H...)
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]

<tbody>
[TD="align: center"][/TD]
[TD="align: center"]Size[/TD]
[TD="align: center"]Material[/TD]
[TD="align: center"]Adress[/TD]
[TD="align: center"]Age[/TD]
[TD="align: center"]Color[/TD]
[TD="align: center"]…[/TD]

[TD="align: center"]A[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]17[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]…[/TD]

[TD="align: center"]B[/TD]
[TD="align: center"]43[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]18[/TD]
[TD="align: center"]P[/TD]
[TD="align: center"][/TD]

[TD="align: center"]C[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]

[TD="align: center"]D[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]

[TD="align: center"]E[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]

[TD="align: center"]F[/TD]
[TD="align: center"]35[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]32[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]

[TD="align: center"]G[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]

[TD="align: center"]H[/TD]
[TD="align: center"]37[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]19[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]…[/TD]

</tbody>
[/TD]
[/TR]
</tbody>[/TABLE]














Base on demand, I must extract their info as below example on sheet 2
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]

<tbody>
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]H[/TD]

[TD="align: center"]Size[/TD]
[TD="align: center"]40[/TD]
[TD="align: center"]43[/TD]
[TD="align: center"]35[/TD]
[TD="align: center"]37[/TD]

[TD="align: center"]Age[/TD]
[TD="align: center"]17[/TD]
[TD="align: center"]18[/TD]
[TD="align: center"]32[/TD]
[TD="align: center"]19[/TD]

[TD="align: center"]Color[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]P[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]B[/TD]

[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]
[TD="align: center"]…[/TD]

</tbody>
[/TD]
[/TR]
</tbody>[/TABLE]








I'm always appreciate your work.
Thank you so much! :)
Septimus
 
Last edited:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,225,748
Messages
6,186,795
Members
453,371
Latest member
HMX180

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