i need to save the complete formated html page, in C:\MYDIR\test.txt
based thi url:
based thi url:
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
sal21 said:save the complete formated page, in C:\MYDIR\test.txt
Dim objHttp As Object, strURL As String
strURL = "[blue][URL unfurl="true"]http://www.codicecatastale.it/regione/abruzzo[/URL][/blue]"
Set objHttp = CreateObject("MSXML2.ServerXMLHTTP")
objHttp.Open "GET", strURL, False
objHttp.setRequestHeader "User-Agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
objHttp.Send ("")
Open "[blue]C:\MYDIR\test.txt[/blue]" For Output As #1
Print #1, objHttp.responseText
Close #1
Set objHttp = Nothing