I am searching through a list with multiple search parameters with this
For each f in FileList
If f= FileName1 Or f = filename 2 Or f = filename3 Then
But now I have a situation whereby the user may choose as many as ten different filenames to search
and the number of filenames to search could change every time the search is run.
What is the correct way to handle this?
Many thanks in advance