VBA download a File from OneDrive
问题 I am trying to download a file from OneDrive. I am new to API Concepts and here is Code, Sub OneDrive_Download() 'Declare the Object Dim oRequest As Object 'Create and Assign Object Set oRequest = CreateObject("MSXML2.XMLHTTP") 'Input User OneDrive URL URL = "https://xxxx-my.sharepoint.com/personal/sidxxx_ie/" 'Post the URL in the Object oRequest.Open "POST", URL, False 'Send Keys to the API oRequest.send ("{""client_id"":myclientid,""CLIENT_SECRET"":myclientsecret}") 'Print the Response in