|
-
Finding the last used row in a sheet and copying data to cells below it
Hi,
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
Copy from
sheetA, row 10, columnB
to worksheetB
last used row+1, column A
Copy from
sheetA, row 10, columnD
to worksheetB
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.
Many thanks.
Talāt
Similar Threads
-
By de_haviland in forum VB Classic
Replies: 0
Last Post: 11-13-2007, 03:24 PM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
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
|
Bookmarks