View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Werner Rohrmoser Werner Rohrmoser is offline
external usenet poster
 
Posts: 88
Default FileSearch FileName using wildcard (?)

Hello,

Application: Excel XP SP2
Environment: Windows XP SP1

Problem:
I use "???5??.xls" as the argument for the FileName property of
the FileSearch object.
After my procedure has done I do not get only files named
"???5??.xls", but also files, which are named "????????5??.xls".
Their name length is more than 10 characters, I thought my filter
limits the files found to files with a name length of 10 characters.

Does anyone know what I'm doing wrong?

Regards
Werner