I am trying to use VBA to download a file from SharePoint to my local drive. I am having 3 reated problems I cannot figure out ... In the code below, strOBJ can be one of 5 string values.
1. The first 3 cases, the application worked for me but other users consistently get an access error...
Hello,
I have the below bit of code that will connect to a website download the .csv file into a location. At the moment I have set this on a loop of about ten files and save them in a location.
I then copy all the data from the ten files download into one master worksheet.
What I would like...
Sub Download()
Set occXMLHTTP = CreateObject("Microsoft.XMLHTTP")
Set fso = CreateObject("Scripting.FileSystemObject")
DIY_Dir = "c:\DIYTraders\"
DIYSub_Dir = "c:\DIYTraders\tickers\"
If Not fso.FolderExists(DIY_Dir) Then
MkDir DIY_Dir
End If
If Not fso.FolderExists(DIYSub_Dir) Then...
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.