Download files with excel

M

Mangda

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top