Calling web service using VBA code in Excel 2010

后端 未结 5 1084
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 18:01

I am trying to write some VBA code in Excel 2010 that would consume a web service. I am unable to find any related resources on the internet. Can someone please tell me how

5条回答
  •  情深已故
    2020-12-02 18:19

    I struggled with the same question on a recent project of mine where I wanted to talk to Trello and Salesforce in pure VBA without installing any plugins, opening up Visual Studio, or other hacks. Ended up writing my own library (based heavily on one of my favorites, RestSharp).

    Warning, shameless plug: https://github.com/VBA-tools/VBA-Web

    Some fun features include Mac support(!), authentication (Http Basic, OAuth1, OAuth2, and others), Async support, and JSON parsing (thanks to VBA-JSON)

    It's working awesomely in Excel 2010 and 2013 (and most likely 2007) and I've got it working with Salesforce, Trello, Basecamp, Google Maps, and it should work with pretty much any webservice.

提交回复
热议问题