What arguments does UpdateListItems take when calling Sharepoint web service from VBA?
问题 I'm trying to add an item to a Sharepoint list using VBA. I don't want the user to have to install anything, so I'm just using Microsoft Soap Type Library. Code as follows: Sub test() Dim soap As MSSOAPLib.SoapClient Dim XMLstr As String Dim listid As String Dim listname As String Set soap = New SoapClient Call soap.mssoapinit(bstrwsdlfile:="http://wss/mySharepointSite/_vti_bin/lists.asmx?wsdl") listid = "{e285aa1a-my-list-ID-d446cdbf091e}" listname = "thisList" XMLstr = "<Method ID='1' Cmd=