+ Reply to Thread
Results 1 to 8 of 8

Linked Excel Files

  1. #1
    Registered User
    Join Date
    04-23-2014
    Location
    Ukraine
    MS-Off Ver
    Excel 2010
    Posts
    8

    Question Linked Excel Files

    Hi everyone!
    Have issues with copy the linked xls files...

    I have a folder of abt. 100 files and there are many links between them.
    When i copy the entire folder to another location, new copied files are still linked to the files in the source folder.
    Do you have any idea what might cause that? and how can i get through it?

    Thanks for the help in advance!

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Linked Excel Files

    Hi tatiana_

    Welcome to the forum.

    There are 2 possible solutions that I know.

    Just to be clear, I call the source file the file from which the data comes; the target file is the file to which the data goes.

    1. Open your target file. Open your source file from the old location. "Save as" to your new location. This will update the link.

    2. Open your target file. Go to Data > edit links >change source. This will enable you to point to the correct file in the new location.

    Hope this helps

    Regards
    Alastair

  3. #3
    Registered User
    Join Date
    10-08-2012
    Location
    hyderbad
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Linked Excel Files

    aydeegee... you are correct.


    MaSS

  4. #4
    Registered User
    Join Date
    04-23-2014
    Location
    Ukraine
    MS-Off Ver
    Excel 2010
    Posts
    8

    Smile Re: Linked Excel Files

    Quote Originally Posted by aydeegee View Post
    Hi tatiana_

    Welcome to the forum.

    There are 2 possible solutions that I know.

    Just to be clear, I call the source file the file from which the data comes; the target file is the file to which the data goes.

    1. Open your target file. Open your source file from the old location. "Save as" to your new location. This will update the link.

    2. Open your target file. Go to Data > edit links >change source. This will enable you to point to the correct file in the new location.

    Hope this helps

    Regards
    Alastair

    Thanks for the help!But its a huge number of files and it will take lots of time to do save as and change sources for each file.
    I have many monthly reports and every month i just copy the entire folder ( with abt 10-15 files) and all links change accordingly.
    But this time its a folder with more than 100 files and when i copy the whole folder, links do not update accordingly - it remains with addresses to the old folder in the old location.

    Have been struggling with this issue for quite some time now

  5. #5
    Registered User
    Join Date
    04-08-2014
    Location
    FRANCE
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Linked Excel Files

    Hey there,

    You can create macros to automatically remove the hyperlink.

    1. Press Alt + F11 to start the Visual Basic Editor.

    2. Double click the workbook you are using on the Project Explorer and type the following code:

    Sub RemoveHyperlinks()
    ActiveSheet.Hyperlinks.Delete
    End Sub

    3.Save your work.

    4. Run the macro by pressing Alt + F8 or using the menu by View > Macros

    5. Select the macro you have made, it should have the name ‘RemoveHyperlinks’.

    I hope this will help..

    efo,
    Jolicharts.com

  6. #6
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Linked Excel Files

    Hi tatiana_

    Ae you happy with the answers or do you need further assistance?

    Regards
    Alastair

  7. #7
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Linked Excel Files

    Hi Tanya

    I am confused.

    I have set up over 100 files (101, actually) which all link to another. They are all in the same directory. Using Windows Explorer I have copied them all to a new directory and the link correctly shows the new directory. (Also it does not make sense to me that the link will update correctly on a few files, but not on many.)

    Anyway, I have prepared a macro that will move all files and put them in another directory, correctly updating the link. There is a Control file that should be located somewhere other than the directory that is being transferred. I have only tested this with a link to one file - but as long as the linked files are all in the same directory it will work.

    Let me know how your get on.

    Regards
    Alastair
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-23-2014
    Location
    Ukraine
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Linked Excel Files

    Quote Originally Posted by aydeegee View Post
    Hi Tanya

    I am confused.

    I have set up over 100 files (101, actually) which all link to another. They are all in the same directory. Using Windows Explorer I have copied them all to a new directory and the link correctly shows the new directory. (Also it does not make sense to me that the link will update correctly on a few files, but not on many.)

    Anyway, I have prepared a macro that will move all files and put them in another directory, correctly updating the link. There is a Control file that should be located somewhere other than the directory that is being transferred. I have only tested this with a link to one file - but as long as the linked files are all in the same directory it will work.

    Let me know how your get on.

    Regards
    Alastair
    Thank you so very much Alastair! =)
    i also wondered why the links were not getting updated while coping the whole directory...because i do the same every month with another directory and it works properly. I suppose that the issue is due to the size of the "unlucky" directory.
    I will try your macro on Monday and will let you know how lucky i am =)
    Thanks a ton once again!
    Have a great weekend!=)
    Tanya

+ 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. Moving linked Excel files to new server
    By kwjung in forum Excel General
    Replies: 0
    Last Post: 09-22-2009, 03:34 PM
  2. How to automatically update workbook linked to other excel files?
    By newnothing in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 07-25-2009, 11:57 AM
  3. Copying linked Excel Files
    By ScottH in forum Excel General
    Replies: 0
    Last Post: 03-09-2006, 04:22 PM
  4. How to save values only from linked Excel files?
    By jmadam39 in forum Excel General
    Replies: 3
    Last Post: 11-30-2005, 01:30 PM
  5. Excel XP SP3 and linked files prompt
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-06-2005, 05:05 PM

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