I think you just unanswered your own question (but just don't realize it!)
Btw all my files are in .CSV
Code:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel9, _
strTable, strPathFile, blnHasFieldNames
CSV files are text files. You typically use TransferSpreadsheet when importing Excel files, not text files.
Now, since you can open CSV files in Excel, it is probably clumsily making it work, but not before spitting out a few errors telling you that it is expecting an Excel file, and importing a text file.
The most proper thing to do would be use TransferText into of TransferSpreadsheet. You just need to set up an Import Specification to do that. That is not hard. Just go through the process of manually importing one of your files. This will invoke the Import Wizard. Go through it, indicating the format of each of the fields. And at the very last step, before clicking "Finish", click "Advanced" and do a Save and give your Import Specification any name you want.
Then, use that name in the TransferText action under the Import Specification argument.