Hello,
I am writing VBA module that imports a text file that has two extension names (.tsv.csv).
When the system is trying to find the file, I get error 3011 and it shows me that the file name being searched for stopped at ".tsv."
The microsoft access database could not find the object "FileName20150907.tsv."
Here is the code:
Dim Monday As String
Monday = Forms!Form!Text34
Dim ExtractFile As String
ExtractFile = Dir$("C:\\Folder\FileName" & Monday & "*.tsv.csv")
DoCmd.TransferText acImportDelim, "Spec", "Extract File", ExtractFile, True
Any Ideas on how to fix?