Bonjour à tous
Je souhaiterai masquer plusieurs bouton de commande si ma case a cocher est décocher
If ComboBox11 = "DEVIS" Then
Label126.Caption = "N° Devis"
'CommandButton5.Visible = False
'CommandButton4.Visible = True
'CommandButton3.Visible = False
If CheckBox4 = False Then
CommandButton7.Visible = True
CommandButton4.Visible = True
CommandButton8.Visible = False
CommandButton5.Visible = False
CommandButton3.Visible = False
ComboBox12.Visible = True
ComboBox13.Visible = False
Else
Label127 = [N°_new_devis]
CommandButton3.Visible = True
ComboBox12.Visible = False
ComboBox13.Visible = False
End If
Else
If ComboBox11 = "FACTURE" Then
Label126.Caption = "N° Facture"
If CheckBox4 = False Then
ComboBox12.Visible = False
ComboBox13.Visible = True
Else
Label127 = [N°_new_facture]
CommandButton3.Visible = False
ComboBox12.Visible = False
ComboBox13.Visible = False
End If
End If
End If
end sub
alors au lieu de marquer plusieurs ligne de commande
je souterai que plusieur valeur = false exemple
and(CommandButton7,CommandButton4,ComboBox12).Visible = True
and(CommandButton8,CommandButton5,CommandButton3,ComboBox13).Visible = False
Je souhaiterai masquer plusieurs bouton de commande si ma case a cocher est décocher
If ComboBox11 = "DEVIS" Then
Label126.Caption = "N° Devis"
'CommandButton5.Visible = False
'CommandButton4.Visible = True
'CommandButton3.Visible = False
If CheckBox4 = False Then
CommandButton7.Visible = True
CommandButton4.Visible = True
CommandButton8.Visible = False
CommandButton5.Visible = False
CommandButton3.Visible = False
ComboBox12.Visible = True
ComboBox13.Visible = False
Else
Label127 = [N°_new_devis]
CommandButton3.Visible = True
ComboBox12.Visible = False
ComboBox13.Visible = False
End If
Else
If ComboBox11 = "FACTURE" Then
Label126.Caption = "N° Facture"
If CheckBox4 = False Then
ComboBox12.Visible = False
ComboBox13.Visible = True
Else
Label127 = [N°_new_facture]
CommandButton3.Visible = False
ComboBox12.Visible = False
ComboBox13.Visible = False
End If
End If
End If
end sub
alors au lieu de marquer plusieurs ligne de commande
je souterai que plusieur valeur = false exemple
and(CommandButton7,CommandButton4,ComboBox12).Visible = True
and(CommandButton8,CommandButton5,CommandButton3,ComboBox13).Visible = False