Name
xpath
.Value
Synopsis
Returns the XPath name of the node mapped to a list column or range. For example, the following code displays the XPaths for each of the columns in a mapped list:
Set ws = ThisWorkbook.Sheets("Sheet1") Set lo = ws.ListObjects(1) For Each lc In lo.ListColumns Debug.Print lc.XPath.Value Next
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.