Estimados Amigos el siguiente codigo de la hoja2 oculta un cuadro combinado
(drop down 3), cuando j3 es diferente de 1, y funciona perfectamente, pero
cuando quiero ocultar otro cuadro combinado (drop drown 16) no
funciona.ayuda por favor
FUNCIONAL
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Intersect(Target, Me.Range("j3")) Is Nothing Then Exit Sub
Me.DropDowns("Drop Down 3").Visible = CBool(Target.Value = 1)
End Sub
NO FUNCIONA
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Then Exit Sub
If Intersect(Target, Me.Range("j3")) Is Nothing Then Exit Sub
Me.DropDowns("Drop Down 3").Visible = CBool(Target.Value = 1)
If Target.Cells.Count > 1 Then Exit Sub
If Intersect(Target, Me.Range("BI2")) Is Nothing Then Exit Sub
Me.DropDowns("Drop Down 16").Visible = CBool(Target.Value = 1)
End Sub
Funciona solamente en el primer drop down3 el segundo ya no, compo puedo
corregir esto.
Leer las respuestas