I am trying to create VBA code that copies and pastes data from Column B into the row directly beneath in Column A. I do not have great experience with VBA and so I am struggling to create such a code.
I would like to create a code that loops for an entire set of data in Columns A and B as shown in the attached picture.
So for example, B3 would get pasted into A4. B5 would get pasted into A6. And all the way down until the list was completed.
Thank you for any help!
=A3and in C4=B3. Then simply copy down and you got the list you desitre (simply copy/paste(values only) to the range at column A at the end)Sub test(): Dim i As Long: i = 3: While Len(Cells(i, 1)): Cells(i + 1, 1) = Cells(i, 2): i = i + 2: Wend: End Sub