Thanks for reaching out!
No- OneDrive/SharePoint "Copy Link" URLs cannot be used in VBA. They are sharing links and do not point to the actual file.
What works: Local OneDrive-Synced path, Full Share- file URL (long URL)
Workaround: Sync the SharePoint library using the OneDrive client to get a shorter local path.
Let me know if you need any further help with this. I will be happy to assist.
If you find this helpful, Kindly mark the provided solution as "Accept Answer", so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.