April 2006
Beginner
1114 pages
98h 16m
English
Use the ListObject’s Refresh method to discard changes to the list on the worksheet and refresh it with data from the SharePoint server as shown here:
lst.Refresh
Use the UpdateChanges method to send data from the worksheet list, to the SharePoint server and retrieve new and changed data from the SharePoint server as shown here:
lst.UpdateChanges xlListConflictDialog
As mentioned earlier, if two authors modify the same item in a list, a conflict will occur when the second author updates her list. The iConflictType argument determines what happens when a conflict occurs. Possible settings are:
xlListConflictDialog (the default)Conflict displays dialog.

Figure 14-6. Find a list’s GUID from the SharePoint server
xlListConflictRetryAllConflicts
Worksheet data wins conflict.
xlListConflictDiscardAllConflicts
Server data wins conflict.
xlListConflictError
Conflict causes error.
Read now
Unlock full access