This documentation is archived and is not being maintained.

Range.XPath Property 

Returns an XPath object that represents the Xpath of the element mapped to the specified Range object.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in

Dim range1 As Range

Dim returnValue As XPath
returnValue = range1.XPath

XPath XPath {get;}
public XPath get_XPath();
function get XPath() : XPath;

XML features, except for saving files in the XML Spreadsheet format, are available only in Microsoft Office Professional Edition 2003 and Microsoft Office Excel 2003.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms