+ Reply to Thread
Results 1 to 7 of 7

displaying data from another workbook

  1. #1
    Registered User
    Join Date
    05-10-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    49

    Question displaying data from another workbook

    I need to constantly display data in cell "C12" of the active workbook. The data is from cell "A1" of another closed workbook. Basically copy the data from "A1" of a different workbook to cell "C12" of the active workbook.

    Any help would be greatly appreciated!
    Thanks!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: displaying data from another workbook

    in the where you want the data shown, just type the reference...or open the other file (just once off), type = then point to the cell onthe other workbook, and press enter

    something like...
    ='[referencesheetname.xlsx]Sheet1'!$A$1
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    05-10-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: displaying data from another workbook

    Thank you!

    But i need to constantly update the values. Like every time I open the workbook. How can I do that?

  4. #4
    Registered User
    Join Date
    05-10-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: displaying data from another workbook

    Also the second workbook is closed...

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: displaying data from another workbook

    that will always reference the value from the closed workbook in that cell. however, if something else feeds into the closed workbook, that closed workbook will not updarte itself until it is opened.

    so, whenwever you open the workbook that references the closed workbook, the last saved value from the closed workbook will be shown

  6. #6
    Registered User
    Join Date
    05-10-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: displaying data from another workbook

    The code works perfectly! Thank you very much!

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: displaying data from another workbook

    you'r welcome. If this answered your question, please take a moment to mark the tread as "solved", and consider adding the reputation to those that helped (see points 2 & 3 below

+ 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