Hi,
instead of Cells(2, 1).End(xlDown)
use Cells(Rows.Count, 1).End(xlUp)
to refer to the last cell containing data in column A.
Regards,
Ingolf
Hi,
instead of Cells(2, 1).End(xlDown)
use Cells(Rows.Count, 1).End(xlUp)
to refer to the last cell containing data in column A.
Regards,
Ingolf
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks