Hello All,
I have been searching the forums and cant quite find an answer for my question. here is the situation:
Example: I currently have a value of 10 in A1. I want to add 10 to that given certain criteria. 1: I type specific text into a different cell, or 2: I check a checkbox
I have tried this:
Private Sub LIVESCAN_Click()
If LIVESCAN.Value = True Then
Range("A1").Value = "=sum(A1,B1)"
Else
Range("A1").Value = ""
End If
End Sub
but when I put this code in. It displays nothing in A1 unless I link A1 to the checkbox (named livescan) it just displays "true" when checked and "false" when unchecked.
I have also tried using SUMIF but I dont understand how to get that to work. If someone could please help with either a VB code or a formula that would be great. Thanks!
Bookmarks