Name

xmldatabinding.LoadSettings(Url)

Synopsis

Sets the data source for an XML map.

Argument

Settings

Url

The name of the file or web service to use as a data source. May be a UNC or URL.

The following code sets the data source for an XML map and refreshes the data in that map from the new data source:

Set xmap = ThisWorkbook.XmlMaps("Order_Map")
xmap.DataBinding.LoadSettings (ThisWorkbook.path & "\2002.ord")
res = xmap.DataBinding.Refresh

Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.