Dir() Returns a string representing the name of a file or directory with specified pattern.
Sub strDemo19() Debug.Print Dir("C:\Windows\*.ini") End Sub