MSXML2.XMLHTTP60을 사용하여 주소 예와 같은 페이지를 가져올 수 있습니다.
' Add reference to MS XML, v6.0 and MS HTML Object Library
Public Sub test()
Dim xmlObject As New MSXML2.XMLHTTP60
Dim htmlDocumentObject As Object
With xmlObject
Call .Open("GET", "http://www.fdci.org/Member.aspx?mid=-1634884325&cat=1", False)
Call .send
If (.Status = 200) Then
Set htmlDocumentObject = New HTMLDocument
htmlDocumentObject.Open
htmlDocumentObject.write .responseText
htmlDocumentObject.Close
Dim address As String
address = htmlDocumentObject.getElementById("ctl00_ContentPlaceHolder1_lblAdd1").innerText
[a1] = address
' and so on ...
End If
End With
End Sub
출처
2013-06-19 09:39:52
dee
"비슷한"이란 무엇을 의미합니까? 다른 웹 사이트도 같은 구조입니까? – MiVoth
같은 웹 사이트 링크의 다른 링크 !! –