Excel2003で、YahooFinancialからコンテンツを取得しようとしています。
私はこれまでに本当に単純な潜水艦を持っています:
Public Sub test(BaseRange As Range)
Dim xmlObject As New MSXML2.XMLHTTP60
Dim xmlDoc As New MSXML2.DOMDocument
With xmlObject
Call .Open("GET", "http://biz.yahoo.com/research/earncal/20110923.html", False)
Call .send
End With
With ActiveSheet.Range("F2")
.Value = xmlObject.responseXML.XML
End With
End Sub
サブはエラーなしで実行され、xmlObject.responseTextにはページのhtmlテキストが含まれているようですが、xmlObject.responseXml.XMLは空です。resonsetextを除いて、すべてが実際には空です。
ここで何が欠けていますか?