+ Reply to Thread
Results 1 to 6 of 6

Thread: Help with Named Ranges

  1. #1
    Registered User
    Join Date
    03-12-2007
    Posts
    61

    Help with Named Ranges

    Can named ranges only be used on data within the same workbook?

    I have a data file that is used as source data for numerous pivot reports - the pivot reports are different files.

    I applied a dynamic range name to the source data but find I can't use the range name for external pivot tables if the source file is closed. When I have the pivot tables and the source file open, the pivots work - however as soon as I close the source I get a message that the source can't be found. If I open the source again, it works, but stops working once closed.

    I don't want to open the source everytime I need to update all the reports.

    Is there something else I need to do - or is there something else I can do?

    Thanks for any assistance you can provide.

  2. #2
    Registered User
    Join Date
    03-05-2010
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Help with Named Ranges

    Not sure if this is what you are looking for. But I found someone else with a similar problem who had their's solved.

    http://www.excelforum.com/excel-prog...-workbook.html

  3. #3
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Help with Named Ranges

    Can't say for sure that it works, never tried it, but you can try the PULL fuction code..

    See link in this article describing referencing closed workbooks.

    http://www.dailydoseofexcel.com/arch...sed-workbooks/
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  4. #4
    Registered User
    Join Date
    03-12-2007
    Posts
    61

    Re: Help with Named Ranges

    Thank you both for you quick responses.

    I was hoping it was something easy I was just missing - but it appears to not be a simple fix. I will give your suggestions a try and see if I can make it work.

    Much appreciated!

  5. #5
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Help with Named Ranges

    If you explain further, perhaps with examples (even a spreadsheet example) how you are referencing the named range in the other workbook, maybe someone can figure out another way... no guarantee... but at least we will know for sure after seeing your actual dilemma.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  6. #6
    Registered User
    Join Date
    03-12-2007
    Posts
    61

    Re: Help with Named Ranges

    What I'm doing is fairly basic.


    In workbook 1, I applied a dynamic named range to the data (range name = "BaseData") that is the dat source used in pivot reports - so that when rows and columns are added, I don't have to update the pivot table ranges.

    In workbook 2, I create a pivot table by opening workbook 1 and selecting the data to be used as the range for the pivot (as per normal) - but then I replace the cells that follow the file name with the named range "BaseData".

    It works just fine as long as I keep both the source file and the pivot report open, but when closing the source - the report can no longer find the source.

    Hopefully that helps clarify what I'm trying to do.

+ 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.2.0