It seems that the issue you are experiencing with Excel showing a SharePoint URL in ActiveWorkbook.Path instead of a local path may be related to the changes in coauthoring capabilities for OneDrive-synced files that were implemented starting in the October 2019 update for Microsoft 365. Since that update, locally synced Office files no longer allow coauthoring when opened from the OneDrive for Business sync client, which might affect how Excel handles file paths when OneDrive is closed.
When OneDrive is not running, Excel may default to accessing the SharePoint version of the file instead of the local copy, leading to the behavior you're observing. This could be a result of how Excel is configured to handle file locations when OneDrive is not active.
To troubleshoot this issue, you might consider the following steps:
- Ensure that your OneDrive sync client is updated to the latest version.
- Check your Excel settings to see if there are any configurations related to file paths or saving that could be adjusted.
- If the problem persists, consider reinstalling the OneDrive sync client to reset any settings that may be causing this behavior.
If none of these steps resolve the issue, you may want to reach out to Microsoft support for further assistance.