+ Reply to Thread
Results 1 to 2 of 2

taking data at end of column and sending it to cell in another workbook

  1. #1
    Registered User
    Join Date
    06-14-2005
    Posts
    3

    taking data at end of column and sending it to cell in another workbook

    I have two workbooks. Appendix I and Appendix II. I am trying to take the last used cell from column A in Appendix II and sending it to cell G8 in Appendix I as well as performing a Save As of Appenix I as the value being sent to G8. Thanks for any help.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello gdecat,

    You say you have 2 workbooks named Appendix I and Appendix II. What are the worksheet names the data are on? This example assumes both workbooks are open and the code is in the Workbook Appendix I and it is the active workbook. The Workbook name and Worksheet name may need to be changed to match what you have.

    Copy LastCell into Cell "G" on Worksheet "Sheet1":
    Range("G8").Value = WorkBooks("Appendix II.xls).Worksheets("Sheet1").Range("A" & Rows.Count).End(xlUp).Value


    Sincerely,
    Leith Ross
    Last edited by Leith Ross; 06-14-2005 at 03:32 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1