excel_lelkes
New Member
- Joined
- May 16, 2017
- Messages
- 30
C2.value is updated when a button is clicked.
My wish is that so long cbox1 is checked O17.value = C2.value
With this code I need everytime click the checkbox
Please help me with a code that updates O17.Value automatically. I hope I could explain so you can understand what I want to do....
Thanks in advance for your help and time
Peter from Sweden, using Excel-365 on Windows
My wish is that so long cbox1 is checked O17.value = C2.value
Code:
Private Sub cbox1_Click()
If Me.cbox1.onValue = True Then
Sheet1.Range("O17").Value = Sheet1.Range("C2").Value
End If
End Sub
Please help me with a code that updates O17.Value automatically. I hope I could explain so you can understand what I want to do....
Thanks in advance for your help and time
Peter from Sweden, using Excel-365 on Windows