ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   compile list in 1st empty cell (https://www.excelbanter.com/excel-discussion-misc-queries/107277-compile-list-1st-empty-cell.html)

Steve

compile list in 1st empty cell
 
I need a macro to find the first empty cell in column a of sheet 2 and
transfer the information of a cell in sheet 1. This value will change but I
would like to compile a growing list as the cell in sheet 1 changes.

Paul B

compile list in 1st empty cell
 
Steve, see if this will work for you,

Sub test()
Sheet2.Range("A65536").End(xlUp).Offset(1, 0) = Sheet1.Range("A1").Value
End Sub


--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Steve" wrote in message
...
I need a macro to find the first empty cell in column a of sheet 2 and
transfer the information of a cell in sheet 1. This value will change but

I
would like to compile a growing list as the cell in sheet 1 changes.





All times are GMT +1. The time now is 08:57 PM.

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