Nikhil2803
New Member
- Joined
- Jul 18, 2023
- Messages
- 37
- Office Version
- 365
- Platform
- Windows
I have a written a script in VBA. while checking a CheckBox, it should check if respective cells(D26,D27,D28) have numerical value or not. The below code is working if I am writing values under/or 10000. If I am giving some larger values, its not working. Please help me how to achieve this.
Function ab_chkbox_Click()
If Range("ab_indicator").Value = True And Range("D26").Value And Range("D27").Value And Range("D28").Value Then
Range("ab0indicator").Value = True