It does, but if testing for a directory I should have used

[vba]

If Dir(strPath, vbDirectory) <> ""
[/vba]