On Mon, 28 Sep 2009 08:18:02 -0700, Patrick Molloy
wrote:
good spot re my typo - my keyboard does have a habit of doing that!
My keyboard does that a LOT also.
you could also use an IF statement
IF RIGHT(sFilename,12) = sData & ".xls" Then
worth testing large folders to see which is faster, this or the INSTR()
Unfortunately the filenames are searching are more complicated than
you assumed.
Thanks for the tips.
John Keith