![]() |
#1
|
|||
|
|||
![]()
Windows 11, Excel 365 and OneDrive
I have some workbooks that use files temporarily stored in a OneDrive folder on my PC By "use" I mean files are downloaded to the OneDrive folder then opened, data extracted, the file is deleted etc etc etc Lately my code, which has worked fine for a couple of years, has been playing up - it mostly just fails to execute the commanded file operations without any error messages. I have finally tracked this down to OneDrive which seems to introduce delays, for instance when a file has been successfully downloaded and the code wants to open it but OneDrive is uploading a copy to the cloud That's when the code fails. I have VBA checks to see if the file is "there" but haven't found a way to check if the file is actually usable I've tried several other fixes but none of them work reliably, so I now use a folder outside OneDrive for these operations and all is well again I have a very fast internet connection but have noticed that OneDrive synch is taking longer than it used to - maybe Microsoft is overloaded. Whatever the reason, I'm so pleased to have functioning VBA again. Hope this helps someone |
#2
|
|||
|
|||
![]()
In my experience, VBA can't change the contents of files on OneDive - probably the security issue.
The workaround is to store all such files on shared local network drive instead. |
#3
|
|||
|
|||
![]() Quote:
The absence of error messages is a pain. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Excel, hyperlink to OneDrive file, is this possible | The9codgerDrove | Excel | 0 | 08-15-2022 04:32 AM |
Word-OneDrive-Excel link not working when Word file re-opens | Prakash-Gautam | Word | 0 | 05-02-2019 07:35 PM |
Problem with hyperlinks to Excel workbooks on OneDrive | rjxb | Excel | 0 | 08-28-2018 10:06 AM |
OneDrive + iPhone Excel: Cannot Update Workbook? | markg2 | Excel | 0 | 12-07-2014 09:02 AM |
Excel function does not work in OneDrive for Business | Laibiang | Excel | 0 | 11-04-2014 07:48 PM |