
Sub Sample()
Dim Http, buf As String
Set Http = CreateObject("MSXML2.XMLHTTP")
Http.Open "GET", "http://www.officetanaka.net/other/index.htm", False
Http.Send
buf = StrConv(Http.ResponseBody, vbUnicode)
Open "C:\sample.htm" For Output As #1
Print #1, buf
Close #1
Set Http = Nothing
End Sub