'Open Multiple Files from SharePoint using VBA

I can get the user to select a SharePoint folder but wasn't successful in looping through the files in selected SharePoint folder. However, I can make them select a LAN folder and loop through the files in the folder.

So, I my goal is to loop through a folder from SharePoint. I am currently using the solution from this post

But, I'm getting stuck with Error - "Runtime error 52 for bad file name or number"

my file is "Q:\https:\company.sharepoint.com\sites\Group\Sales\BD\Add\Sale 2022"

Thank you



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source