Name
xmlnamespace
.Prefix
Synopsis
Returns the prefix used with a namespace. The following code displays the prefix and URI for the root namespace used in an XML map:
Dim xmap As XmlMap Set xmap = ThisWorkbook.XmlMaps("Orders_Map") Debug.Print xmap.RootElementNamespace.Prefix Debug.Print xmap.RootElementNamespace.Uri
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.