Private Sub chkYourCheckBox_AfterUpdate()
With Me
If !chkYourCheckBox = True Then
If IsNumeric(!txtYourTextBox) Then
If !txtYourTextBox > 0 Then !txtYourTextBox = !txtYourTextBox * 2
End If
End If
End With
End Sub
Private Sub chkYourCheckBox_AfterUpdate()
With Me
If IsNumeric(!txtYourTextBox) And !txtYourTextBox > 0 Then
If !chkYourCheckBox Then
!txtYourTextBox = !txtYourTextBox * 2
Else
!txtYourTextBox = !txtYourTextBox / 2
End If
End If
End With
End Sub