vba 适用于 Office 2007 的 MS Office Webservice 工具包?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3797672/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-11 12:06:48  来源:igfitidea点击:

MS Office Webservice toolkit for Office 2007?

web-servicesvbasoap

提问by user310291

There is an article here for MS Office 2003 http://metrix.fcny.org/wiki/display/tips/How+to+Create+a+Microsoft+Access+Client+for+a+SOAP-based+Web+Service+API

这里有一篇关于 MS Office 2003 http://metrix.fcny.org/wiki/display/tips/How+to+Create+a+Microsoft+Access+Client+for+a+SOAP-based+Web+Service的文章 +API

When I tried to install http://www.microsoft.com/downloads/en/details.aspx?FamilyID=fa36018a-e1cf-48a3-9b35-169d819ecf18&DisplayLang=enit says it requires Office 2003 whereas I have Office 2007 and I can't find update for Office 2007 ?

当我尝试安装http://www.microsoft.com/downloads/en/details.aspx?FamilyID=fa36018a-e1cf-48a3-9b35-169d819ecf18&DisplayLang=en 时,它说它需要 Office 2003 而我有 Office 2007,我可以没有找到 Office 2007 的更新?

Does it exist if not how do I access a soap webservice from VBA ?

它是否存在,如果不存在,我如何从 VBA 访问soap web 服务?

回答by Garett

I believe the Web Services Toolkit used the SOAP toolkit, which is no longer supported. However, there are a couple of options available, which include:

我相信 Web 服务工具包使用了不再受支持的 SOAP 工具包。但是,有几个选项可用,其中包括:

  • XMLHTTP- Relies on WinInet.
  • ServerXMLHTTP- Offers much of the same functionality as XMLHTTP, but does not rely on WinInet. See the FAQfor more information.
  • Managed Code- Using .NET utilizing VSTO or an Excel Workbook project.

Here are a few examples.

这里有一些例子。

http://www.tushar-mehta.com/publish_train/xl_vba_cases/vba_web_pages_services/#_Toc173749360

http://www.tushar-mehta.com/publish_train/xl_vba_cases/vba_web_pages_services/#_Toc173749360

http://msdn.microsoft.com/en-us/library/dd819156%28office.12%29.aspx

http://msdn.microsoft.com/en-us/library/dd819156%28office.12%29.aspx

http://msdn.microsoft.com/en-us/library/aa168471%28office.11%29.aspx

http://msdn.microsoft.com/en-us/library/aa168471%28office.11​​%29.aspx