Use VBA to call Web Service
来源:互联网 发布:js中跳出for循环 编辑:程序博客网 时间:2024/06/08 00:15
If you want to utilize web service in Excel, Word and other office tools. You have to use VBA to call web service.
Firstly, You must install the Microsoft Soap toolkit. The latest version is 3.0.
Secondly, you will add reference to you vba project. Select Tools--> Reference, select Microsoft soap type Library v3.0.
Thirdly, Edit you code to call web service.
Sub Button1_Click()Sub Button1_Click()
Dim str As String
Set Client = New SoapClient30
Client.MSSoapInit "http://localhost:8866/Service.asmx?wsdl"
str = Client.HelloPal("Guosong")
MsgBox str
End Sub
Dim str As String
Set Client = New SoapClient30
Client.MSSoapInit "http://localhost:8866/Service.asmx?wsdl"
str = Client.HelloPal("Guosong")
MsgBox str
End Sub
- Use VBA to call Web Service
- Use Http Post to call Web Service
- Using WinInet to call a Web service
- How to use VC++6.0 to develop web Service Client
- how to call Web service in Excel 2003 / Excel 2005
- VB call Web Service
- call web service failed
- Call JMS Web Service
- Use Web Service
- VBA中访问Web Service
- How to Use Excel VBA for Printing
- VBA MsgBox – How to use
- Use VBA to update PPT from Excel
- web service错误Use @XmlType.name and @XmlType.namespace to assign different names to them.
- Web Service 开发(VBA连接Tomcat)
- use python zsi to create and publish a web service (rpc-encoded)
- [stackoverflow转载翻译练习]How to use a Bind maps as a web service?
- Call web service using HttpWebRequest and serialization
- 我的php史
- Oracle阶层查询
- RUDP:可靠用户数据报协议
- 用C#获取系统有关环境、属性(c/s&b/s)
- linux network config
- Use VBA to call Web Service
- exp和imp用法和介绍
- OSGi 起步(4): 注册服务
- 网络写作一年稿酬最高可达150万元
- oracle imp导入的一些实例
- asp.net扩展Login控件,添加图文验证码
- asp.net2.0中MultiView应用实例
- 激发自己的潜能
- [C]将原有链表中的元素倒序输出