santosclarencephilip
New Member
- Joined
- Aug 30, 2018
- Messages
- 5
Hi,
Thank you in advance for your help. I'm trying to apply this vba code to every succeeding rows.
Private Sub CommandButton1_Click()
If Range("I2").Value > 0 Then
Sheets("Sheet1").Range("G2").ClearContents
Else
Sheets("Sheet1").Range("G2").ClearContents
Range("G2").Value = Range("L2").Value
End If
End Sub
I tried finding solutions from other threads relating about my problem but to no success.
Thanks again.
Clarence Santos
Thank you in advance for your help. I'm trying to apply this vba code to every succeeding rows.
Private Sub CommandButton1_Click()
If Range("I2").Value > 0 Then
Sheets("Sheet1").Range("G2").ClearContents
Else
Sheets("Sheet1").Range("G2").ClearContents
Range("G2").Value = Range("L2").Value
End If
End Sub
I tried finding solutions from other threads relating about my problem but to no success.
Thanks again.
Clarence Santos