Dans ma colonne "A" j'ai une liste de nom finissant par des guillemets comme ceci ...Les Abymes"
J'ai mis se code
Code:
Sub SupprCaractA()
Dim Nc, Cel As Range
For Each Cel In Range("a1:a1000")
Cel.Value = Trim(Cel.Value)
Nc = Len(Cel)
Cel.Value = Left(Cel, Nc - 1)
Next Cel
End Sub
j'ai un message d'erreur " Argument ou appel de procédure incorrect"
Sub GDP()
Dim Dlig As Long, C As Range
With Sheets("Feuil1")
Dlig = .Range("A" & .Rows.Count).End(xlUp).Row
For Each C In .Range("A5:A" & Dlig)
C.Value = LCase(Replace(Replace(C.Value, Chr(34), ""), " ", "_"))
Next
End With
End Sub