Nikhil2803
New Member
- Joined
- Jul 18, 2023
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
I have a checkbox at A5 place. Whenever I want to click on the checkbox, it should check if B5,B6 and B7 contains numeric value. If the conditions meet, then only checkbox should be checked, else user should get a popup that you need to fill B5, B6 and B7 first.
I am using the below code snippets, but it is not working
Function volbl_unitsof_chkbox_Click()
If IsNumeric(Range("D14").Value) > 0 And IsNumeric(Range("D15").Value) > 0 And IsNumeric(Range("D16").Value) > 0 Then
'Range("vbl_unitsof_indicator").Value = True'
volbl_unitsof_chkbox.Enabled = True
Else
Resp1 = MsgBox("Please enter the Units Of amount, maximum amount and Guarentee Issue value ")
If Resp1 = 1 Then
volbl_unitsof_chkbox.Enabled = False
End If
End If
End Function
Can some one please help how to achieve this.
I am using the below code snippets, but it is not working
Function volbl_unitsof_chkbox_Click()
If IsNumeric(Range("D14").Value) > 0 And IsNumeric(Range("D15").Value) > 0 And IsNumeric(Range("D16").Value) > 0 Then
'Range("vbl_unitsof_indicator").Value = True'
volbl_unitsof_chkbox.Enabled = True
Else
Resp1 = MsgBox("Please enter the Units Of amount, maximum amount and Guarentee Issue value ")
If Resp1 = 1 Then
volbl_unitsof_chkbox.Enabled = False
End If
End If
End Function
Can some one please help how to achieve this.