Marion1857
XLDnaute Nouveau
Bonjour,
J'essaye de convertir ma colonne contenant des oui ou des non en 1 et 0 mais je n'y arrive pas..
Pourriez-vous m'aider ?
Option Explicit
Sub Transform()
Dim i As Integer
Dim non As String
For i = 1 To 400
If Range(" R " & i) = non Then
Range(" R " & i) = 1
End If
Next i
Return
End Sub
Cordialement
J'essaye de convertir ma colonne contenant des oui ou des non en 1 et 0 mais je n'y arrive pas..
Pourriez-vous m'aider ?
Option Explicit
Sub Transform()
Dim i As Integer
Dim non As String
For i = 1 To 400
If Range(" R " & i) = non Then
Range(" R " & i) = 1
End If
Next i
Return
End Sub
Cordialement