+ Reply to Thread
Results 1 to 6 of 6

Named Range Name Keeps Changing On Its Own

  1. #1
    Registered User
    Join Date
    08-10-2012
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    41

    Named Range Name Keeps Changing On Its Own

    Hello,

    I have a master workbook ("database") containing many named ranges (ex "Contact"). I have another workbook template ("estimate") that I rename for each project and it too has named ranges (ex "Contact") referring to the named ranges in "database" (ex =DataBase.xlsm!Contact). I am saving "database" on multiple PC's and syncing to the cloud (skydrive / onedrive) so that I can access "database" from multiple PC's. What I'm finding is everything works fine as long as "estimate" or whatever I've renamed it is opened on the same PC it was created on. If I open estimate on another PC the named ranges in estimate are renamed by addition of a prefix including the complete path to "database" (ex "='C:\Users\Jason\SkyDrive\Documents\Daikin\ServiceTools\DataBase.xlsm'!Component"). This renaming prevents the named ranges in "estimate" from working on other pc's because this specific path doesn't exist on other PC's, only the PC it was created on. Is there a way to name the named ranges in estimate by only the workbook name (=DataBase.xlsm!Contact) without the entire path being automatically added as a prefix?

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Named Range Name Keeps Changing On Its Own

    Press Alt+E+K and click change source and locate the same workbook if that named range meant to refer that workbook


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-10-2012
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: Named Range Name Keeps Changing On Its Own

    Thanks for your reply but I don't know what you're suggesting. I was able to partially solve my problem by eliminating the named ranges and doing something different for them however I also have Vlookup referencing the database workbook and the vlookup path is problematic in much the same way. When I set Vlookup in estimate to reference "database.xlsm" (both on the same PC) everything works fine. However If I move estimate to another PC also containing a file named "database.xlsm" it can't find it because it is not only looking for the workbook name but the entire file path which is where the problem lies. Although I have a workbook named "database.xlsm" located and open in another PC the file paths are different and Vlookup seems to wants the entire file path exactly as it was in the original PC. Is there a way for vlookup to ignore the file path and simply look for the file name?

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Named Range Name Keeps Changing On Its Own

    When you open the file in another system in which the "database.xlsm" will be in someother path, then refer my post #2 suggestion and locate the actual file by clicking the change source.

  5. #5
    Registered User
    Join Date
    08-10-2012
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    41

    Re: Named Range Name Keeps Changing On Its Own

    Thanks again but I don;t think that's not going to work. "estimate.xlsm" is a template that will be created and renamed in various PC's and moved about between various PC's many times. I need the template to be able to find "database.xlsm" without having to locate the exact filepath each time estimate is recreated.

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Named Range Name Keeps Changing On Its Own

    What about keeping the "estimate.xlsm" template file in open while opening the formula file?

+ 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. [SOLVED] Changing the Named Range in Vlookup
    By Kevets in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-21-2013, 12:10 AM
  2. [SOLVED] changing cells in a named range
    By Turtleman10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2012, 09:34 AM
  3. Changing Name of Predefined Named Range
    By agentred in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-15-2012, 05:46 PM
  4. Excel 2007 : Named range keeps changing
    By Kenny Bones in forum Excel General
    Replies: 5
    Last Post: 07-08-2011, 10:53 AM
  5. VBA Changing a named range
    By Obfuscated in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-10-2011, 10:05 PM

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