Article ID: 155841
Article Last Modified on 11/23/2006
Sub Open_Internet_File()
'Open the file
Workbooks.Open FileName:= "http://www.InternetComputer.com/Book1.xls"
'do not display the file when it is opened
ActiveWindow.Visible = True
'Set the workbook to visible, or else the file containing the macro
'will be saved under the new name.
Windows("book1.xls:// www.InternetComputer.com/book1.xls").Visible = True
'Save the workbook to a local drive
ActiveWorkbook.SaveAs FileName:="C:\xldocs\testlink1.xls", _
FileFormat:=xlExcel5, Password:="", WriteResPassword:="", _
ReadOnlyRecommended:=False, CreateBackup:=False
End Sub
Additional query words: world wide web net
Keywords: kbdtacode kbhowto kbprogramming kbualink97 KB155841