VBA Transpose Cells with Images

decadence

Well-known Member
Joined
Oct 9, 2015
Messages
525
Office Version
  1. 365
  2. 2016
  3. 2013
  4. 2010
  5. 2007
Platform
  1. Windows
Hi is it possible to transpose cells containing images and numbers, I have 1000+ Rows in column A where each cell has a number and image but what I would like to do is transpose by every 10 cells.

From this

[TABLE="class: grid, width: 100, align: left"]
<tbody>[TR]
[TD][Image] 1[/TD]
[/TR]
[TR]
[TD][Image] 2[/TD]
[/TR]
[TR]
[TD][Image] 3[/TD]
[/TR]
[TR]
[TD][Image] 4[/TD]
[/TR]
[TR]
[TD][Image] 5[/TD]
[/TR]
[TR]
[TD][Image] 6[/TD]
[/TR]
[TR]
[TD][Image] 7[/TD]
[/TR]
[TR]
[TD][Image] 8[/TD]
[/TR]
[TR]
[TD][Image] 9[/TD]
[/TR]
[TR]
[TD][Image] 10[/TD]
[/TR]
[TR]
[TD][Image] 11[/TD]
[/TR]
[TR]
[TD][Image] 12[/TD]
[/TR]
[TR]
[TD][Image] 13[/TD]
[/TR]
[TR]
[TD][Image] 14[/TD]
[/TR]
[TR]
[TD][Image] 15[/TD]
[/TR]
[TR]
[TD][Image] 16[/TD]
[/TR]
[TR]
[TD][Image] 17[/TD]
[/TR]
[TR]
[TD][Image] 18[/TD]
[/TR]
[TR]
[TD][Image] 19[/TD]
[/TR]
[TR]
[TD][Image] 20[/TD]
[/TR]
</tbody>[/TABLE]

To This

[TABLE="class: grid, width: 300, align: left"]
<tbody>[TR]
[TD][Image] 1[/TD]
[TD][Image] 2[/TD]
[TD][Image] 3[/TD]
[TD][Image] 4[/TD]
[TD][Image] 5[/TD]
[TD][Image] 6[/TD]
[TD][Image] 7[/TD]
[TD][Image] 8[/TD]
[TD][Image] 9[/TD]
[TD][Image] 10[/TD]
[/TR]
[TR]
[TD][Image] 11[/TD]
[TD][Image] 12[/TD]
[TD][Image] 13[/TD]
[TD][Image] 14[/TD]
[TD][Image] 15[/TD]
[TD][Image] 16[/TD]
[TD][Image] 17[/TD]
[TD][Image] 18[/TD]
[TD][Image] 19[/TD]
[TD][Image] 20[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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