+ Reply to Thread
Results 1 to 1 of 1

Moving excel file to a folder on or sync'ed with Sharepoint or Onedrive breaks the links

  1. #1
    Registered User
    Join Date
    01-11-2022
    Location
    Dublin, Ireland
    MS-Off Ver
    Office365
    Posts
    1

    Moving excel file to a folder on or sync'ed with Sharepoint or Onedrive breaks the links

    Hi,
    I have an annoying problem with a new excel tool just developed. There is a back-end source excel file on Sharepoint that is linked to a "client" excel file that links back to that source spreadsheet on Sharepoint. There is an annoying problem that if the client is copied to a local file on a user's device that is not synced with their OneDrive or Sharepoint, then all is good, and the links back to the Sharepoint file work perfectly. If, however, that file is placed in a directory which then syncs with Sharepoint or Onedrive, then the links get changed to a relative path and breaks, giving an error message. I've tried everything, including adding an entry in the Info -> Advanced Properties -> Hyperlink base which I saw recommended somewhere, but still no resolution. I can see that the path to the source is updated from the central location on Sharepoint to something like ...-my.sharepoint.com/personal/... etc, so it's trying to resolve it in the new location as a relative link. I cannot for the life of me figure out how to make the original link path stick (i.e. make an "Absolute link" that remains as such in all cases, rather than reverting to a "Relative Link" which seems to be happening. In all cases, I am opening the file with the desktop app and not the web UI version.

    I have by way of a simple example created and attached two excel files called Source and Destination. The Destination file references a cell in the Source excel file. The simplest way to reproduce the issue is when I copy this Destination file to a location on my Onedrive (just using Copy on Sharepoint), the problem occurs and the link to the Source file on Sharepoint gets pointed by excel to a URL that contains ....-my.sharepoint.com/personal/..... This happens also if you download and open the file from a folder that is being synced with Sharepoint - once the file has synced to the cloud.


    We're on Office365 and the Excel version is Version 2102 (Build 13801.21050)


    If anyone had any experience in this or knows what to suggest, then I'd be delighted.
    Attached Files Attached Files

+ 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. Replies: 0
    Last Post: 12-21-2021, 07:25 AM
  2. [SOLVED] VBA: Show pop-up when Excel file is opened in browser (e.g. SharePoint / OneDrive)
    By kingofcamden in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-01-2021, 08:43 AM
  3. VBA Code for File Location on OneDrive/SharePoint
    By Vinod Krishna.C in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-05-2021, 12:50 PM
  4. Share an excel file on onedrive/sharepoint with vba
    By ARowbot in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-05-2020, 08:29 PM
  5. Sync copy of file to OneDrive from LAN folder
    By spyac in forum Office 365
    Replies: 0
    Last Post: 08-29-2019, 04:01 PM
  6. Mail merge from Excel to Word, moving the files breaks links?
    By BoldCreature in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-10-2014, 10:46 AM
  7. Replies: 0
    Last Post: 10-08-2013, 10:54 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