Weell... You're the expert, but I've always used this code myself (VB6) and tested it with both the file existing and not existing, and it performs perfectly for me. Actually, I learnt that syntax from my college textbook, which expresses it exactly like i've put there...