ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Appending data with VBA (https://www.excelbanter.com/excel-programming/323425-appending-data-vba.html)

mr.mcfly

Appending data with VBA
 
Hi
I would like to append data after the last occupied cell of a row
using VBA. How do I determine the last cell containing data?
Ta much
Martin

Bob Phillips[_6_]

Appending data with VBA
 

cLastRow = Cells(Rows.Count,"A").End(xlUp).Row

--

HTH

RP
(remove nothere from the email address if mailing direct)


"mr.mcfly" wrote in message
om...
Hi
I would like to append data after the last occupied cell of a row
using VBA. How do I determine the last cell containing data?
Ta much
Martin





All times are GMT +1. The time now is 12:14 AM.

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