voici ma macro avec l'insertion des codes est ce que ca peut marcher ????
Sub IMPORT_CA()
'
' IMPORT_CA Macro
' Macro enregistrée le 31/01/2013 par VALY
Dim Ligne as Long
Ligne = Cells(Rows.Count, "A").End(xlUp).Row + 1)
With ActiveSheet.QueryTables.Add(Connection:= _
"TEXT;C:\Documents and Settings\Utilisateur\Mes documents\Mes sources de données\credit agricole.csv" _
, Destination:=Cells(Ligne, "A")
.Name = "credit agricole"
.FieldNames = True
.RowNumbers = False
.FillAdjacentFormulas = False
.PreserveFormatting = True
.RefreshOnFileOpen = False
.RefreshStyle = xlInsertDeleteCells
.SavePassword = False
.SaveData = True
.AdjustColumnWidth = False
.RefreshPeriod = 0
.TextFilePromptOnRefresh = False
.TextFilePlatform = -535
.TextFileStartRow = 2
.TextFileParseType = xlDelimited
.TextFileTextQualifier = xlTextQualifierDoubleQuote
.TextFileConsecutiveDelimiter = False
.TextFileTabDelimiter = True
.TextFileSemicolonDelimiter = False
.TextFileCommaDelimiter = True
.TextFileSpaceDelimiter = False
.TextFileColumnDataTypes = Array(4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1)
.TextFileTrailingMinusNumbers = True
.Refresh BackgroundQuery:=False
End With
End Sub