make rows and paste acording to a cellinfo

nalle077

New Member
Joined
Jul 2, 2019
Messages
16
I created a thread yesterday https://www.mrexcel.com/forum/excel-questions/1102769-how-set-range-vba-active-cell.html
and this is the continue of my macro which I believe has to change what I had help with yesterday .
Sorry for not thinking the whole thing through before posting
Here is what I want.
If anyone can help. Please if you want also explain so that I learn :) sometimes I do not understand what the VBA does even if it works :)
thanks in advance


From this.(here under) It may be 1,2,3 or more column and different infoHow many of each. This info is always in the most right column
A1A2A34
B1B33
Hello454
asd1102
This (here under) should be the result. The original info should be deleted
A1A2A34
A1A2A3
A1A2A3
A1A2A3
B1B33
B1B3
B1B3
Hello454
Hello45
Hello45
Hello45
asd1102
asd110

<tbody>
</tbody>
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Anyone who can help.
In the sollution in my other thread https://www.mrexcel.com/forum/excel-...tive-cell.html
It works if I do this on the end with one problem.
F5, Special, Empty cells, =A1, ctrl+Enter, mark all, copy, paste values
The result will be that it copies the cells over, and if there is a empty cell it takes the info from the first cell over which has info and copies that.
So the empty cells gets filled , which will be problem for me
 
Upvote 0

Forum statistics

Threads
1,214,427
Messages
6,119,419
Members
448,895
Latest member
omarahmed1

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