Bonsoir à tous!
J'ai avancé dans mon fichier automatique mais j'ai un probleme avec une macro
Lorsque l'utilisateur séléctionne EC, je voudrais que les lignes 11 à 14 apparaissent automatiquement. En revanche si l'utilisateur sélectionne toute autre type de "funding" ces lignes doivent etre cachées... Je n'y arrive pas. Quelqu'un peut il m'aider?
Private Sub ComboBox2_Change()
Application.ScreenUpdating = False
If [color=red]Range("[/color]B10[color=red]")[/color] = "EC" Then
Rows("11:13").Hidden = False
Else
Rows("11:13").Hidden = True
End If
End Sub
Private Sub ComboBox2_Change()
Application.ScreenUpdating = False
If Range("B10") = "EC" Then
Rows("11:13").Hidden = False
Else
Rows("11:13").Hidden = True
End If
Application.ScreenUpdating = True
End Sub