Hi bbanacki,
Please have a look at the following code:
Define your queries and then:
oAdvancedQuery.ReturnType=eSearchFile
oMyDataFinder.Results.MaxCount = iMaxNumberOfReturndElements
Call oMyDataFinder.Search(oAdvancedQuery)
Set oMyResults = oMyDataFinder.Results
If oMyResults.IsIncomplete Then
msgbox "The first " & str(oMyResults.Count) & " files found"
Else
msgbox str(oMyResults.Count) & " files found"
End If
for iLoop = 1 to oMyResults.Count
Cell.Text = oMyResults(iLoop).Properties("Name").Value
Cell.Text = oMyResults(iLoop).Properties("fullpath").Value
next
Greetings
Walter