ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do I detect the first empty cell is column A (https://www.excelbanter.com/excel-programming/324054-how-do-i-detect-first-empty-cell-column.html)

PJ0779

How do I detect the first empty cell is column A
 
I need to copy information from worksheet A and put that information the
first blank cell of Column A in worksheet B in a macro.

Nigel

How do I detect the first empty cell is column A
 
Hi, this will detect last row of column A on the current sheet.

Dim LastRow As Long
LastRow = Cells(Rows.Count, "A").End(xlUp).Row


--
Cheers
Nigel



"PJ0779" wrote in message
...
I need to copy information from worksheet A and put that information the
first blank cell of Column A in worksheet B in a macro.





All times are GMT +1. The time now is 10:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com