Forum Discussion
Save and close large files
It sounds like OneDrive is not finishing the sync process before the file is closed. This is especially noticeable with larger Office files. A few things you can try:
First, make sure the OneDrive client is fully updated. Microsoft has pushed fixes in recent builds for sync timing issues.
Second, instead of relying on save-then-close happening instantly, add a short delay. For manual work, that means saving, waiting a few seconds, and then closing. For VBA automation, you can use Application.Wait or a similar pause after Save before running Close.
Third, check if Files On-Demand is enabled. Sometimes disabling it for the specific folder where you keep large Office documents helps, since the files are kept fully local and reduce sync lag.
If the problem keeps happening, it may be worth opening a support case with Microsoft since this looks more like a limitation in how OneDrive handles back-to-back save and close requests rather than something wrong with your setup.