【发布时间】:2012-10-11 13:35:27
【问题描述】:
如何在 (vb mac office excel 2011) 中发送 HTTP Post,并读取 HTTP 响应? 并请提供明确的答案,我是vb的新手。
不是 Windows Office,而是 Mac Office 2011!
提前致谢!
【问题讨论】:
标签: vb.net excel http http-post
如何在 (vb mac office excel 2011) 中发送 HTTP Post,并读取 HTTP 响应? 并请提供明确的答案,我是vb的新手。
不是 Windows Office,而是 Mac Office 2011!
提前致谢!
【问题讨论】:
标签: vb.net excel http http-post
这是link to a similar question answered in 2010。此处粘贴的代码来自该链接。
Sub http()
Dim MyRequest As Object
Set MyRequest = CreateObject("WinHttp.WinHttpRequest.5.1")
MyRequest.Open "GET", "http://www.google.com"
' Send Request.
MyRequest.Send
'And we get this response
MsgBox MyRequest.ResponseText
End Sub
如果您还需要更多建议,请告诉我。
【讨论】: