View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Philip Davich Philip Davich is offline
external usenet poster
 
Posts: 3
Default Are multiple filesearch objects allowed?

Is it possible to run to filesearch objects at the same
time? I tried a filesearch within a filesearch, using
a "for i = 1 to .FoundFiles.Count" on the first
filesearch, and "for j = 1 to .FoundFiles.Count" for the
second filesearch. The first pass through both
filesearches works fine, but when the procedure loops
back for i = 2, the criteria for the second filesearch
are applied instead of those for the first. I even gave
the two filesearch objects different names, but it
doesn't help. Is what I want to do even possible?