J'ai besoin d'aide car je coince sur un format.
La formule apparaît quand je lance la macro et le résultat attendu n'est pas le bon.
Avez vous une idée.
Merci
A+
Sub Macro1()
Columns("A:A").NumberFormat = "0.00"
Range("B2:B" & Range("A65536").End(xlUp).Row).Formula = "=IF(RC[-1]=0,"""" )"
Cells(1, 1).Select
End Sub
A+ à tous
Edition : Pas vu l'amie G... Heureux de la collision et Bises++
Sub FormuleTer()
Dim a As Range
Set a = Range("A2", Cells(Rows.Count, "A").End(xlUp))
a.Offset(, 1) = Evaluate("=IF(" & a.Address & "=0,"""",FALSE)")
End Sub
Sub Macro1()
Sheets("Feuil1").Select
With Range("B2:B" & Range("A65536").End(xlUp).Row)
.FormulaR1C1 = "=1*(RC[-1]=0)"
.NumberFormat = ";;""FAUX"";"
End With
End Sub