Users are working on Excel files in Excel Online saved in a SharePoint library. I need to be able to refresh some of the data in the files in full desktop Excel so need to know if anyone is in the file preventing me from opening the file in full desktop and updating the relevant tables.
All the code I have seen seems to be relevant to working on mapped or shared drives and full desktop Excel which I have used successfully before but the code will not worked on a file saved on SharePoint and open in Excel Online.
The code at the end of this link looked promising but it is not working - returning object required errors at beginning of code or if I take out the first three lines of code to get the code to run it returns a read only file even when the file is available.
Is there a way to do this?