View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mangda Mangda is offline
external usenet poster
 
Posts: 1
Default 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