+ Reply to Thread
Results 1 to 7 of 7

Can a Named-range be accessible from another Spreadsheet

  1. #1
    Registered User
    Join Date
    10-25-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Can a Named-range be accessible from another Spreadsheet

    I use Indirect to access data from Named Ranges, whose scope can be either Sheet or File-wide.
    I notice that some Scopes refer to a separate Spreadsheet. eg G: ... /.../.../....xlsx
    I want to make available to end users Spreadsheets with individually tailored Dashboards, that refer to Named-ranges within a Master SS.
    Can it be done?

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Can a Named-range be accessible from another Spreadsheet

    Hi John and welcome to the forum,

    The below website says exactly that: Named ranges do not work across different workbooks. But.. Read what they say and perhaps you can do a fixed range. ALSO - Power Query will work across multiple workbooks and even with all files in a folder. You'll need a newer version of Excel to get Power Queries.

    http://www.ashishmathur.com/force-ex...oss-workbooks/
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Can a Named-range be accessible from another Spreadsheet

    In my example I can use INDIRECT with VLOOKUP to work on named ranges within other workbooks BUT only if the other workbooks are open.

    INDIRECT does not work with closed workbooks.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Can a Named-range be accessible from another Spreadsheet

    Thanks Andy,

    I stand corrected..

    Marv

  5. #5
    Registered User
    Join Date
    10-25-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Can a Named-range be accessible from another Spreadsheet

    Thanks Andy and Marvin

    I had found that I can clone a SS which caries the Named-range, and that it can read from Masterfile the data, but only if the Masterfile is open. Tried the Table trick to no avail!

    I will keep experimenting, but wonder if I moved the Masterdata to a single file in Access if Excel could use that data even when Access is closed?

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,430

    Re: Can a Named-range be accessible from another Spreadsheet

    The issue is INDIRECT and closed workbooks.
    If you know the names of the books and the ranges within each book then you can use the CHOOSE function to return a reference to the range without INDIRECT

    USE_REMOTE =CHOOSE(Sheet1!$C$3,USE_REMOTE_1,USE_REMOTE_2)
    USE_REMOTE_1 ='C:\Temp\Book1.xlsx'!REMOTE_BOOK1_LOOKUP
    USE_REMOTE_2 ='C:\Temp\Book2.xlsx'!REMOTE_BOOK2_LOOKUP

    And the named ranges REMOTE_BOOK1_LOOKUP and REMOTE_BOOK2_LOOKUP are ranges defined and contained within each of the separate workbooks.

  7. #7
    Registered User
    Join Date
    10-25-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Can a Named-range be accessible from another Spreadsheet

    Thanks Andy

    It took me a while, but I now have it working dynamically.

    Choose() seems to work for me, but in some instances the gaining SS needs to be updated via the Links Pop-up.

    Is there some way to automate the Links update?

+ 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. Listbox displaying named range B but Adding named range A to cell
    By ikkenieikke in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-05-2018, 02:27 PM
  2. [SOLVED] Compare cells to named range and create new sheets using related named range
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-10-2015, 03:35 PM
  3. [SOLVED] determining if cell is part of named range and what that named range is
    By stnkynts in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-16-2014, 07:56 PM
  4. Replies: 1
    Last Post: 02-27-2013, 12:00 AM
  5. [SOLVED] Determine what Named Range the Target Address is and return Named Range Name
    By jordan2322 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-18-2012, 10:49 PM
  6. Macro to Save Multiple copy of spreadsheet from named range
    By Chirayu Amin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-29-2009, 01:46 PM
  7. publicly accessible spreadsheet?
    By nightcrawler.36 in forum Excel General
    Replies: 2
    Last Post: 07-28-2006, 11:20 AM

Tags for this Thread

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