Dim mTest As Boolean Public Property Get Test() As Boolean: Test = mTest: End Property Public Property Let Test(newValue As Boolean) MsgBox "Nouvelle valeur pour 'TEST' : " & newValue mTest = newValue End Property
Test = (Menu1.Checked or menu2.checked)