+ Reply to Thread
Results 1 to 7 of 7

Can't Edit Source for bad data link in excel - HELP!

  1. #1
    Registered User
    Join Date
    08-18-2016
    Location
    Birchwood, England
    MS-Off Ver
    2010
    Posts
    3

    Question Can't Edit Source for bad data link in excel - HELP!

    Okay, so I've got an excel spreadsheet that accesses data from five other xlsm spreadsheets/worksheets. Four of the links in the spreadsheet are good; however, one is bad (it's looking at the 'users$' folder on the server instead of the network drive where the source spreadsheets are located) hence I need to Change the source. Easy? So, I go to the Data tab on the ribbon > Edit Links on the 'Connections' area which opens up the 'Edit Links' box. I select/highlight the bad/broken link and click on 'Change Source' I then navigate to the correct destination (where the excel spreadsheet I want to link to is stored) and click on 'OK' expecting it to update the location - but it just doesn't work! The location still shows the 'users$' folder and if I click on 'Open Source' I still get the 'unable to find file, try changing path etc' message (which I've just tried to do)

    If I highlight all five links and click 'Break Links' four of the links disappear but the bad/broken link remains!!

    I can create a folder in the 'users$' folder on the server and put the spreadsheet in there to 'bodge' it but don't really want to have the linked folder in there. I want it to be with the other linked folders on the network drive.

    How can I change this 'seemingly' unchangeable source location??

    TIA

  2. #2
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Can't Edit Source for bad data link in excel - HELP!

    I am not in an environment where there is a server any more (been retired for 6 years) but I do recall a similar problem about ten years ago.

    It was caused by the "owner/creator" of the file linking to files on the server AND a file on his own hard drive. (Users link). Could this be the problem in your situation?

    Regards,

    David

  3. #3
    Registered User
    Join Date
    08-18-2016
    Location
    Birchwood, England
    MS-Off Ver
    2010
    Posts
    3

    Re: Can't Edit Source for bad data link in excel - HELP!

    Quite possibly. I can make the link good, as I say, by creating that path of folders in the users$ folder on the server but I don't like the idea of having it there in case the user deletes any of the other 'user' data stored in this location. Ideally need to update the link but I don't think this is gonna let us so may have to be a new spreadsheet that's set up with the correct links.

  4. #4
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Can't Edit Source for bad data link in excel - HELP!

    Can you move the problem file? If you can click OPEN SOURCE, then save to a new location. If you put it in the same location as the rest of the files being accessed the problem should be resolved.

    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


  5. #5
    Forum Contributor
    Join Date
    04-01-2009
    Location
    Irvine, CA
    MS-Off Ver
    Excel 2010
    Posts
    280

    Re: Can't Edit Source for bad data link in excel - HELP!

    Have you checked to make sure there are no named ranges in the file? Usually a named range (Formulas --> Name Manager) is NOT updated by the change source.

  6. #6
    Registered User
    Join Date
    08-18-2016
    Location
    Birchwood, England
    MS-Off Ver
    2010
    Posts
    3

    Re: Can't Edit Source for bad data link in excel - HELP!

    This is very strange......

    Okay, so I tried the 'Open Source' route which opened the spreadsheet from the users$ folder (the wrong location). I then clicked 'Save As' and saved it to the correct location. This appeared to work as the data link then showed the right path (to where the other spreadsheets are kept). I clicked 'close' in the data links box. I then double checked by opening 'Edit Links' again. Still showed correct path in the 'Data Links' box. So I used 'Save As' and renamed the spreadsheet say 'Spreadsheet2'

    I closed the spreadsheet and re-opened 'Spreadsheet2', checked the link and what d'ya know, back to the wrong location! Argh!

    With regards to Named Range (Formulas --> Name Manager) there's lots of stuff in there such as print_area, print_titles, company, data. The values appear to reference areas on the main spreadsheet, not the source spreadsheets.

    One thing I have noticed is the 'source' spreadsheets have links and some of those also refer to the 'users$' folder. Could that be what's corrupting it or would it have no bearing on the main spreadsheet what-so-ever?

  7. #7
    Forum Expert
    Join Date
    11-26-2013
    Location
    Colac, Victoria, Australia
    MS-Off Ver
    Excel 2016
    Posts
    1,309

    Re: Can't Edit Source for bad data link in excel - HELP!

    Hi GMan,

    Chance2 is quite right about Named Ranges etc. They can be troublesome, especially when in objects like charts, or in Conditional Formats, or Named Formulas, or Data Validation. (This is often the cause of being unable to "Break Links")

    There is a lot of discussion re issues with Breaking Links. I found this one quite useful.
    http://blog.contextures.com/archives...inks-in-excel/

    You need to determine whether these named ranges are actually used by your model. Sometimes you can just pick them up - especially when there are other users workbooks involved.

    I have seen situations where I had to strip the model down, and virtually rebuild it in a new workbook which didn't have the unnecessary detritus that you get from workbooks created by someone else.

    I hope this helps, please let me know!

    Regards,

    David


    - Please click on the *Add Reputation button at the bottom of helpful responses.

    Please mark your thread as SOLVED:
    - Click Thread Tools above your first post, select "Mark your thread as Solved".


+ 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. Marco for DATA Edit Links; Open Source
    By Maharachi in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2013, 06:28 AM
  2. Replies: 0
    Last Post: 10-16-2012, 01:19 PM
  3. [SOLVED] how do i edit link source in whole workbook?
    By JFrost in forum Excel General
    Replies: 1
    Last Post: 08-18-2006, 03:45 PM
  4. How to edit pivot table data source??
    By KitenutDave in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-26-2006, 05:40 PM
  5. [SOLVED] Change source ofr edit link is greyed out
    By PML in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-15-2006, 05:35 PM
  6. Replies: 5
    Last Post: 07-01-2005, 02:05 PM
  7. Link formula problem when edit source worksheet
    By dbarre in forum Excel General
    Replies: 0
    Last Post: 04-05-2005, 11:52 AM
  8. Replies: 1
    Last Post: 03-29-2005, 08:06 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