+ Reply to Thread
Results 1 to 2 of 2

Reference to a cell in an unopened file

  1. #1
    Forum Contributor
    Join Date
    04-15-2008
    Location
    Texas, USA
    MS-Off Ver
    M365 Excel Version 2210
    Posts
    198

    Reference to a cell in an unopened file

    I want to put a reference in a workbook to a date in another file that is NOT open at the moment. When I open both files and point to the other file to get to proper file path, file name and cell reference it returns the proper date. However, when I close the referenced file, the formula returns #REF!. The referenced file is ='C:\Users\Public\Documents\Prospect Pricing Tables.xlsx'!Last_Update.

    I even tried to refresh the cell in my workbook with this code yet it errors out on the file address line.

    'Enter Last_Update date from Master Table as it Opens
    Sheets("Output").Select
    Range("Master_Date").Select
    ActiveCell.Formula = "='C:\Users\Public\Documents\Prospect Pricing Tables.xlsx'!Last_Update"
    Range("A1").Select

    I would appreciate anyone's help.

    Thanks,
    RR

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Reference to a cell in an unopened file

    Does this link shed some light?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Open unopened file
    By emjbee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2011, 07:34 PM
  2. Open unopened file
    By emjbee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2011, 07:44 PM
  3. Update cell values from unopened workbook using link containing a file name in cell
    By Jthomas81 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-30-2011, 10:51 PM
  4. List box used to reference unopened workbooks
    By gtg567x in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-15-2010, 11:03 AM
  5. [SOLVED] Function required to extract cell info from an unopened file.
    By westcountrytractorboy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-10-2005, 04:07 AM

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