excel vba that moves over merged cells

BORUCH

Well-known Member
Joined
Mar 1, 2016
Messages
528
Office Version
  1. 365
Platform
  1. Windows
hi all

i have a data set that looks like below

Book1
ABCDEFGHIJ
1Item #Descriptionqtypriceqty price qty price qty price
200000test 110$12.0020$11.0030$10.00
300001test 2
400002test 3
5
600004test 59$13.0025$9.00
700005test 6
800006test 7
9
1000008test 910$14.0020$15.6630$14.0040$13.00
Sheet1



i would like an excel vba that does this below

Book1
MNOPQRSTUVWX
1Item #Descriptionqtypriceqty price qty price qty price
200000test 110$12.0020$11.0030$10.00
300001test 2
400002test 3
5
600004test 510$13.0025$9.00
700005test 6
800006test 7
9
1000008test 910$14.0020$15.6630$14.0040$13.00
Sheet1


as you can see it moved over every group to the right

any suggestions is greatly appreciated
 
I guess that's why it says "Change as required".
Anyway, you have it sorted so all the best with it and have a Happy, Healthy and Prosperous New Year.
Good Luck
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,215,482
Messages
6,125,060
Members
449,206
Latest member
Healthydogs

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