+ Reply to Thread
Results 1 to 3 of 3

Explicit links to workbooks on Sharepoint breaks since migration to OneDrive

  1. #1
    Registered User
    Join Date
    12-17-2021
    Location
    East Coast, USA
    MS-Off Ver
    M365
    Posts
    14

    Explicit links to workbooks on Sharepoint breaks since migration to OneDrive

    We use Excel to maintain a 'dashboard' that reads/applies formulas from other workbooks on Sharepoint.
    All files are on sharepoint (dashboard and source files), and never saved locally. This is to make sure that anyone who opens the dashboard will be able to use it.

    Tonight after putting in the formulas for the path to this months data, everything worked until I closed the source file. It then changed the correct values to #Value. When looking at the formula, as I originally put it in, it populated the formula like the file was local and it worked (source file was open). Example:
    =Countif('source_data_april.xlsx'!B:B,"High")

    When I closed the source file, it changed the formula automatically to reflect the path to Sharepoint (abbreviating since the forum things I'm trying to post a link) =Countif('sharepoint2016.... source_data_april....) and the output broke, changing to #value.

    Opening the source file, the formula reverts, and the values correct themselves.

    MicroSoft was of no help, one person suggested doing find/replace to change all of the = to #, saving the file(s), closing the source, and then restoring the # to =, this didn't fix it either.

    Is there a trick I'm missing to fixing this? We did not have this issue before our migration. I do not have any admin rights to sharepoint, so any solution needs to be done in excel.

    Right now I'm building out a "formula workbook", getting ready for the worst case scenario of telling the people that update the dashboard that they will need to edit the month in the workbook for the source files, then cut-and-paste the formulas into the dashboard each month. I'm hoping there's a better solution. Right now we do the "hold and drag" to pull the column of formulas over, then highlight the new row and do find/replace for the month in just that row, and it's been great until this month.

    Thank you all!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,216

    Re: Explicit links to workbooks on Sharepoint breaks since migration to OneDrive

    I think the issue is that every user has a different OneDrive path, even to the same file on Sharepoint. I had similar issues when I was working (retired now) whilst using PowerQuery, but in our case, there were only two of us who needed to access the data files: the rest was presented to the wider staff via PowerBI dashboards. This will not have been much help except you might need to reconsider the way that a wider staff accesses shared data.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-17-2021
    Location
    East Coast, USA
    MS-Off Ver
    M365
    Posts
    14

    Re: Explicit links to workbooks on Sharepoint breaks since migration to OneDrive

    Thank you for the insight. Such a shame that MS had to add apparent zero-value complexity to this.

    We have been pushing for other reporting methods around this (such as PowerBI), though all of those have their own obstacles.

    If anyone else has seen this issue and found a way around it, please let me know.

    Until then, I've got two approaches that can work in tandem. One is the list of formulas, which makes a good backup. The other is the
    formula laden book, and when all is populated, copy and do a special-past as text only, then save the file with a unique filename
    indicating it's the results, and not the formulas. That's the one well have everyone open. Still not ideal, but repeatable.

+ 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. Error 52 Bad File Name when using DIR / saving PDF to SharePoint / OneDrive
    By Merf in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2023, 02:46 PM
  2. OneDrive/Sharepoint and VBA
    By TheBigFrench in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-31-2022, 11:19 AM
  3. [SOLVED] Get Sheet name, when file is stored on SharePoint/OneDrive
    By mstgier in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-23-2022, 05:30 AM
  4. Check if a file exists in onedrive/sharepoint
    By S@S in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2022, 08:15 AM
  5. Replies: 0
    Last Post: 01-13-2022, 02:05 PM
  6. 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
  7. 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

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