Copy Values VBA

Oprichnick

Board Regular
Joined
May 30, 2013
Messages
69
Hello,
I need to transform a table like table 1 in a table 2.

I need to do this in a very repetitive way. Each calculation output is something like Table 1 and in fact I need the data in a Table 2 format.

Honestly I don't have many clues in how to do it.

Table 1
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]x[/TD]
[TD="align: center"]y[/TD]
[TD="align: center"]z[/TD]
[TD="align: center"]a[/TD]
[TD="align: center"]b[/TD]
[TD="align: center"]c[/TD]
[/TR]
[TR]
[TD="align: center"]aaa[/TD]
[TD="align: center"]bbb[/TD]
[TD="align: center"]ccc[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]3[/TD]
[/TR]
</tbody>[/TABLE]

Table2

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]x[/TD]
[TD="align: center"]y[/TD]
[TD="align: center"]z[/TD]
[TD="align: center"].....[/TD]
[TD="align: center"]nº[/TD]
[/TR]
[TR]
[TD="align: center"]aaa[/TD]
[TD="align: center"]bbb[/TD]
[TD="align: center"]ccc[/TD]
[TD="align: center"]a[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]aaa[/TD]
[TD="align: center"]bbb[/TD]
[TD="align: center"]ccc[/TD]
[TD="align: center"]b[/TD]
[TD="align: center"]3[/TD]
[/TR]
</tbody>[/TABLE]

Regards
 
I think you will need to explain the logic how you get from Table1 to Table2.
 
Upvote 0

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