Hi all,
I want to merge two ranges together. The first range is equal to
the second range is equal to
I am familiar with the UNION-function, but I want to merge them differently.
Basically, I want to merge them column for column. Visually it looks as follows:
https://ibb.co/F4d4sdw
I tried using the following for each range
And paste the two new ranges together by skipping blanks. However, this is very slow especially when I increase the sizes of the two ranges.
Help is much appreciated
I want to merge two ranges together. The first range is equal to
Code:
Sheets("1").Range("B1:AA100")
the second range is equal to
Code:
Sheets("2").Range("B1:AA100")
I am familiar with the UNION-function, but I want to merge them differently.
Basically, I want to merge them column for column. Visually it looks as follows:
https://ibb.co/F4d4sdw
I tried using the following for each range
Code:
Sub inser_columns()
For c = 2 to lastColumn Step 2
Columns(c).Insert Shift:=xlToRight
Next
End Sub
Help is much appreciated