S sharkantipav XLDnaute Occasionnel 5 Mars 2014 #1 Bonjour, je genere sous excel des identifiant de cette maniere Col A ColB 1 0001-A 1 0001-B 1 0001-C 2 0002-A 2 0002-B 2 0002-C 2 0002-D Je voudrais savoir comment je peux generer la colonne B sous VBA.... Merci
Bonjour, je genere sous excel des identifiant de cette maniere Col A ColB 1 0001-A 1 0001-B 1 0001-C 2 0002-A 2 0002-B 2 0002-C 2 0002-D Je voudrais savoir comment je peux generer la colonne B sous VBA.... Merci
Dranreb XLDnaute Barbatruc 5 Mars 2014 #2 Re : Changement de format VBA Bonsoir. Avec ces instructions : VB: With [B2].Resize([A60000].End(xlUp).Row - 1) .FormulaR1C1 = "=TEXT(RC1,""0000"")&""-""&CHAR(COUNTIF(R2C1:RC1,RC1)+64)" .Value = .Value: End With Vote positif 0 Vote négatif
Re : Changement de format VBA Bonsoir. Avec ces instructions : VB: With [B2].Resize([A60000].End(xlUp).Row - 1) .FormulaR1C1 = "=TEXT(RC1,""0000"")&""-""&CHAR(COUNTIF(R2C1:RC1,RC1)+64)" .Value = .Value: End With
S sharkantipav XLDnaute Occasionnel 5 Mars 2014 #3 Re : Changement de format VBA Merci Bcp!!!! Vote positif 0 Vote négatif