ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Download files with excel (https://www.excelbanter.com/excel-programming/279479-download-files-excel.html)

Mangda

Download files with excel
 
Hi All,

I try to create a files that allow me to download files
through Excel.
I am using the WebBrowser controls, I have no problems, to
connect to the file, to start the download with the first
windows (do you want to save it, or open ot from ots
location), but how can hide this windows, select the right
path for the file, and start the download.

Thanks a lot,

Mangda

Some coding (it is just a test to try to understand the
functionalities):
Private Sub UserForm_Click()
WebBrowser1.Navigate "http://www.xxx.com/logs/010102.log"
End Sub

Private Sub WebBrowser1_FileDownload(ByRef bCancel As
Boolean)
chemin="c:\logfiles\
<<<<<<<<<<<<<,What I need to put here to make the dowload
automayic
End Sub






All times are GMT +1. The time now is 05:28 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com