If seen the function:
Public Function fFolderExists(strFullName As Variant) As Boolean
If Len(strFullName) 0 Then
fFolderExists = Len(Dir(strFullName, vbDirectory))
End If
End Function
But this tries to find the full path.
What I want is to determine if there exists a directory at a certain location that starts with a specific two characters.
For example, find if a directory exists at “C:Test” that starts with “ab”.
Thus it would return true if folder “C:Testabcdefg” or “C:Testab123” exists.
Thanks for the help!!
Troy