Hi,
i want to check if a file alerady exist but when I run my code I get the Type mismatch error
I cannot figure this on out, my strname display the proper path and there is a file there, the wildcard is there because the number attached to the file name varies
i want to check if a file alerady exist but when I run my code I get the Type mismatch error
I cannot figure this on out, my strname display the proper path and there is a file there, the wildcard is there because the number attached to the file name varies
Code:
strName = "" & DLookup("RepertoireAccess", "LIST_ODBC_STRING", "LABEL = '" & Me.ODBC_AFTER & "'") & "Entrepot*.accde" & ""
Debug.Print strName
If Dir(strName, vbDirectory) Then