+ Reply to Thread
Results 1 to 4 of 4

Corrupted hyperlinks

  1. #1
    Registered User
    Join Date
    03-07-2013
    Location
    Long Beach, WA
    MS-Off Ver
    Excel 2013
    Posts
    87

    Corrupted hyperlinks

    I have a large number of Excel files in one folder e.g. C:\Users\Me\Documents\Files\[*.xlsm]
    One of the files is a summary of all the other files. It's just a list of all the other files with certain cells summarized. Let's call it list.xlsm.
    In the first column are descriptive names of each file.
    I have elected to add a hyperlink to these names that points to that file so I can open it easily.

    Twice now, I've found the hyperlinks corrupted like this:

    Original hyperlink:
    file.xlsm

    So, since list.xlsm is in the same folder, the implication of this link would be C:\Users\Me\Documents\Files\file.xlsm

    This morning I opened the list.xlsm file and tried to use the hyperlinks. They didn't work.
    In opening the links for editing, I find them changed to this:

    Resulting hyperlink:
    ../../../../../AppData/Roaming/Microsoft/Excel/file.xlsm

    that's right -../../ and so forth and the following reference to AppData, etc. exactly.

    I need to prevent this as I only know how to fix it with a tedious manual process.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Corrupted hyperlinks

    Fixing the links shouldn't be tedious. Use the EDIT LINKS method to update all the references to one file with references to another.

    http://screencast.com/t/WcF6wfwrrgym
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    03-07-2013
    Location
    Long Beach, WA
    MS-Off Ver
    Excel 2013
    Posts
    87

    Re: Corrupted hyperlinks

    Thanks. Now I have two methods: EDIT LINKS and a VBA Module

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Corrupted hyperlinks

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Find Hyperlinks, Copy Hyperlinks to alternative sheet, print all hyperlinks
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2013, 05:13 PM
  2. Replies: 7
    Last Post: 06-14-2012, 09:44 AM
  3. CDO :-Attachments got corrupted
    By dollar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-17-2009, 05:58 AM
  4. Replies: 0
    Last Post: 05-14-2006, 11:45 PM
  5. [SOLVED] Corrupted file
    By poul, denmark in forum Excel General
    Replies: 2
    Last Post: 04-24-2005, 04:06 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