Hello,
I am using the following code:
The problems I run into are:strFile = Dir(MyPath & "\*") Do While strFile <> "" Debug.Print strFile strFile = Dir MsgBox strFile Loop
1. Always, the last two messages are empty boxes.
2 Always, I am getting one more message box than the file counts in MyPath
What is wrong here?
Could you please advise?
Thanks
Bookmarks