Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you,
Solved, found in the api: Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean Dim lngRetVal As Long lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0) If lngRetVal = 0 Then DownloadFile = True End Function Private Sub Form_Load() 'example by Matthew Gates ) DownloadFile "http://www.allapi.net", "c:\allapi.htm" End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I download and open a CSV file in Excel 2000? | Setting up and Configuration of Excel | |||
what do I download to open a spreadsheet file | Excel Discussion (Misc queries) | |||
want to download csv file from website and need to open in Excel. | Excel Discussion (Misc queries) | |||
What do I need to download to open a .xls file? | Excel Programming | |||
download and open excel file from outlook | Excel Programming |