change this to:

..
MyFile = Dir$(MyFolder & "*.*")