Finding the last used row in a sheet and copying data to cells below it
Can anybody help me with this?
I recorded a macro which copies cells value from one open excel file into another excel file where it needs to find the lasy used row, and then copy into cells in the row below it. But the resultant VBA code references actual cell values eg Range("A15658").Select which does not work because next time the macro is run it should be +1
steps might be
open worksheet a and Sheets
sheetA, row 10, columnB
last used row+1, column A
sheetA, row 10, columnD
last used row+1, column B ..... etc
Once I sort this out, I have one more query. If I can't sort it out myself, would like to get back to you or the forum again.
By de_haviland in forum VB Classic
Last Post: 11-13-2007, 03:24 PM
Tags for this Thread
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL