I have a column of data (column A) of which I only wish to copy the rows with numbers in Column A. How can I modify the code below to accomplish this? Thanks
[VBA] Option Explicit
Sub copyrows()
Dim mI As Long
mI = 1
While Sheets("Sheet1").Cells(mI, 1) <> vbNullString
Sheets("Sheet1").Rows(mI).Copy
Sheets("sheet2").Select
Rows(mI).Select
ActiveSheet.Paste
mI = mI + 1
Wend
End Sub[/VBA]