WorksheetFunction.FilterXML (Excel)

Gets specific data from the returned XML, typically from a WebService function call.

The XPath parameter is limited to 1024 characters. The FilterXML function returns results that are parsed via the user specified data locale.

FilterXML (Arg1, Arg2)


Dim strArg1 As String: strArg1 = 
Dim strArg2 As String: strArg2 = 
WorksheetFunction.FilterXML Arg1:=strArg1, Arg2:=strArg2

Arguments

Arg1, Arg2

Arg1 (String) - Valid XML string.

Arg2 (String) - XPath query string.