Sub importer()
    Dim c As Range
    With ActiveSheet.QueryTables.Add(Connection:= _
        "TEXT;CHEMIN_VERS_LE_FICHIER\humidité pour envoi forum excel.txt", _
        Destination:=Range("$A$1"))
        .Name = "humidité pour envoi forum excel"
        .FieldNames = True
        .RowNumbers = False
        .FillAdjacentFormulas = False
        .PreserveFormatting = True
        .RefreshOnFileOpen = False
        .RefreshStyle = xlInsertDeleteCells
        .SavePassword = False
        .SaveData = True
        .AdjustColumnWidth = True
        .RefreshPeriod = 0
        .TextFilePromptOnRefresh = False
        .TextFilePlatform = 65001
        .TextFileStartRow = 1
        .TextFileParseType = xlDelimited
        .TextFileTextQualifier = xlTextQualifierDoubleQuote
        .TextFileConsecutiveDelimiter = False
        .TextFileTabDelimiter = True
        .TextFileSemicolonDelimiter = False
        .TextFileCommaDelimiter = True
        .TextFileSpaceDelimiter = False
        .TextFileColumnDataTypes = Array(1, 4, 1, 1, 1)
        .TextFileTrailingMinusNumbers = True
        .Refresh BackgroundQuery:=False
    End With
    For Each c In Range("A1").CurrentRegion.Columns(2).Cells
        If TypeName(c.Value2) = "String" And IsDate(c.Value2) Then
            c.Value = CDate(c.Value2)
        End If
    Next
End Sub