1
0

Merge branch 'master' into release

This commit is contained in:
Jason Williams 2016-06-28 19:01:56 -06:00
commit 6b176193a2
2 changed files with 2 additions and 4 deletions

View File

@ -34,9 +34,9 @@ Public Function SPListItem(SharepointUrl As String, ListName As String, ListData
If objXMLHTTP.Status = 200 Then If objXMLHTTP.Status = 200 Then
Set xmlhttpResponse = objXMLHTTP.responseXML Set xmlhttpResponse = objXMLHTTP.responseXML
CreateSPItem = CInt(xmlhttpResponse.SelectSingleNode("//UpdateListItemsResult//Results//Result//z:row").Attributes.getNamedItem("ows_ID").Text) SPListItem = CInt(xmlhttpResponse.SelectSingleNode("//UpdateListItemsResult//Results//Result//z:row").Attributes.getNamedItem("ows_ID").Text)
Else Else
CreateSPItem = -1 SPListItem = -1
End If End If
Set objXMLHTTP = Nothing Set objXMLHTTP = Nothing

View File

@ -18,7 +18,5 @@ In the VBA editor window choose Tools -> References.
- ListData is a VBA dictionary object containing key value pairs, where the key is the name of a field and the value is the value that will be assigned to it. - ListData is a VBA dictionary object containing key value pairs, where the key is the name of a field and the value is the value that will be assigned to it.
- ItemID is the SharePoint ID of a list item that will be updated (if omitted, a new list item will be created). - ItemID is the SharePoint ID of a list item that will be updated (if omitted, a new list item will be created).
VBA SharePoint List Library is a collection of VBA functions designed to allow your VBA code to interact with a SharePoint list.
## Contributing ## ## Contributing ##
Please see the contribution guide in contributing.md Please see the contribution guide in contributing.md