我可以使用什么方法从VBA调用Web服务?

编程入门 行业动态 更新时间:2024-10-27 12:39:30
本文介绍了我可以使用什么方法从VBA调用Web服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

从Excel调用Web服务最简单的方法是什么(我正在使用版本2002)?请不要第三方工具或图书馆。这一点很简单,一些VBA可以粘贴到那里,使用它,然后触摸。

What is the easiest way to call a web service from Excel (I am using version 2002)? Please, no third party tools or libraries. This has to be easy with some VBA that I can paste there, use it, and ever touch.

推荐答案

我不认为有直接从VBA直接与SOAP进行通信的特别简单的方法,但是具有RESTful接口的Web服务(即整个事情可以通过URL完成)更容易:我正在查看这篇文章今天。我刚才发现的另一篇文章是 here 。

I don't think there is any especially easy way to talk to SOAP directly from VBA, but a web service with a RESTful interface (i.e. the whole thing can be done via a URL) is easier: I was looking at this article just today. Another article I just found is here.

然而,如果您遇到了SOAP,您可以先阅读这个和此。坦白说,这看起来有点讨厌。

If you're stuck with SOAP, however, you could start by reading this and this. Frankly, it all looks a bit nasty.

更多推荐

我可以使用什么方法从VBA调用Web服务?

本文发布于:2023-10-07 10:50:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1469193.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:可以使用   方法   Web   VBA

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!