just add this line of code :
.LastModified = msoLastModifiedThisMonth
Generally it is best not to use constants in the code. If you add a parameter to the function, it will accept any number of files :
Sub ImportCSV(ByVal strFilePath as string, ByVal strFiles as String)
Dim i As Integer
With Application.FileSearch
.NewSearch
.LookIn = strFilePath
.FileName = strFiles
.LastModified = msoLastModifiedThisMonth
If .Execute > 0 Then
For i = 1 To .FoundFiles.Count
DoCmd.TransferText acImportFixed, "IPWL 04 RNA Import", "WL CMDS (RNA00)", .FoundFiles(i)
Next i
End If
End With
end sub
then call the Sub like so :
ImportCSV "C:\Windows", "autoexec.bat;config.sys"
Another remark : it's better to avoid spaces in table names. This can cause problems in queries and saves you the use of brackets. Try this notation : tblWL_CMDS_(RNA00)