StrCheck = Dir("C:\Files\abc.txt")If StrCheck = "abc.txt" ThenDebug.WriteLine("File is present")ElseDebug.WriteLine("File is not present")EndIf