I need the vba code to copy multiple worksheets into another worksheet (Main) without overwriting the first copy/paste.
I have this started, it works, to copy from sheet 1 into MAIN. But I need to find the last empty cell in "Main"; then go to sheet2, sheet3, sheet4, copy without having to change the code each time.
worksheets("Sheet1").Range("A2:F50").Copy Worksheets("Main").Range("A2")
I have this for the Find last empty cell; but don't know how to place it inside of the first code.
Sub findnextblankrow()
Range("A2").End(xlDown).Offset(1, 0).Select
End Sub
I have this started, it works, to copy from sheet 1 into MAIN. But I need to find the last empty cell in "Main"; then go to sheet2, sheet3, sheet4, copy without having to change the code each time.
worksheets("Sheet1").Range("A2:F50").Copy Worksheets("Main").Range("A2")
I have this for the Find last empty cell; but don't know how to place it inside of the first code.
Sub findnextblankrow()
Range("A2").End(xlDown).Offset(1, 0).Select
End Sub