Using VBA in XL365 (Win 10), I can open an XL file that is uploaded to our corporate Sharepoint site. I am using:
I am running into two issues:
(A) After opening, the Sharepoint site gets the focus, and the VBA code stops. Can I put something in there to return focus back to the code to continue the routine?
(B) When the XL file opens, it's still in the Edge browser. If I stop at loading the page that hold the file, is there a method to use to download the file? If not, can I use some kind of SaveAs method to get the file?
Thanks!
Ed
VBA Code:
CreateObject("Shell.Application").ShellExecute str
(A) After opening, the Sharepoint site gets the focus, and the VBA code stops. Can I put something in there to return focus back to the code to continue the routine?
(B) When the XL file opens, it's still in the Edge browser. If I stop at loading the page that hold the file, is there a method to use to download the file? If not, can I use some kind of SaveAs method to get the file?
Thanks!
Ed