+ Reply to Thread
Results 1 to 4 of 4

Does anyone have any tips for removing thousands of these ghost links from exel files?

  1. #1
    Registered User
    Join Date
    06-27-2023
    Location
    Tustin, United STates
    MS-Off Ver
    365
    Posts
    2

    Does anyone have any tips for removing thousands of these ghost links from exel files?

    Hello! Firstly thank you for taking the time to take a look!


    Short version - Is there a way via code or software to remove the links in the info bubbles below? If we can somehow copy and 'paste values' over them that would suffice, but doing so I have to highlight, copy, paste elsewhere, delete original, then paste the copy back. This would have to be done for thousands of workbooks with tens to hundreds of thousands + so manually isn't feasible

    Any suggestions are appreciated

    Please let me know if this belongs in a different area!
    ====================
    Backstory: We are migrating terabytes of data from on premises to azure files and then running 'LinkFixer' on the data to correct links referencing locations on the old shared drive.

    We migrated twice as much data at our toronto office in a weekend with no real issues, but here the tool is finding sometimes 1million + links in some of these files, and even if it can skip all of them, it has to check them in order to determine whether it can or not, so it is taking months

    I believe I found the ones that are a problem (screenshots below). Within fields like tenant ID and stuff it is some reason presenting a link to individual user's c drives and stuff. I noticed on one file I was testing on it seemed to link to my own onedrive (the sharepoint URL in the first screenshot below is onedrive once moved to my local device).

    The links in question are not needed, but excel and most tools are unable to find them (except the tool fixing links for the migration - is there a way via code or software to go through a folder and remove this unnecessary data from files?

    I tried making a script which for all *external links* not containing indicators of our share drive (I.E. S:, FSM-DC1, etc) it just copy the contents and paste over it the values only but that was not successful, I presume because it doesn't detect there as being a link to begin with


    onedrive link.jpg

    File C Link.jpg
    Last edited by Estielle; 06-28-2023 at 02:17 PM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Does anyone have any tips for removing thousands of these ghost links from exel files?

    Those are hyperlinks, select all cell on the sheet right click & remove hyperlinks.

  3. #3
    Registered User
    Join Date
    06-27-2023
    Location
    Tustin, United STates
    MS-Off Ver
    365
    Posts
    2

    Re: Does anyone have any tips for removing thousands of these ghost links from exel files?

    Thank you, that seems very straightforward, no one involved or that I'd asked was able to say

    Testing some scripts now to try to iterate through files in a folder and remove them, Also gonna look into software that does it better, haha, thank you again!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Does anyone have any tips for removing thousands of these ghost links from exel files?

    Glad to help & thanks for the feedback

+ 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. Tips for Formula instead of manual links
    By ruchi1127 in forum Excel General
    Replies: 2
    Last Post: 03-16-2023, 12:00 AM
  2. lingering ghost links
    By diesel888 in forum Excel General
    Replies: 6
    Last Post: 09-27-2016, 11:03 AM
  3. Replies: 2
    Last Post: 04-23-2013, 08:59 AM
  4. Transfering files from lots of files to one single Exel master file.
    By yjacob in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 07-01-2009, 11:37 AM
  5. [SOLVED] Exel Links
    By Russ in forum Excel General
    Replies: 3
    Last Post: 03-10-2006, 10:25 AM
  6. [SOLVED] Ghost Links which force Excel to update on File Open
    By ExcelMonkey in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2005, 09:05 AM
  7. [SOLVED] Ghost links in Workbook
    By ASinghBama in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-24-2005, 05:06 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