sassy
New Member
- Joined
- Feb 23, 2009
- Messages
- 38
Can't get the following code to work as intended. Can anyone tell me what I am missing??
I have a form with checkboxes and when the form is closed, i want it to feed the the designated information from the checked boxes to the sheet skiping over the ones that are not checked. Does this make sense??
It is not moving to the next empty line, it is just going over the B3 again and again.
I have a form with checkboxes and when the form is closed, i want it to feed the the designated information from the checked boxes to the sheet skiping over the ones that are not checked. Does this make sense??
It is not moving to the next empty line, it is just going over the B3 again and again.
Code:
Private Sub CloseButton_Click()
If Box_Term.Value = True Then
Worksheets("CICI").Activate
Range("B11").Select
Range("B3:B10").End(xlUp).Offset(1, 0).Select
Selection.Value = "Term"
Else
End If
If Box_Change.Value = True Then
Worksheets("CICI").Activate
Range("B11").Select
Range("B3:B10").End(xlUp).Offset(1, 0).Select
Selection.Value = "Add a file"
Else
End If
If Box_Lock.Value = True Then
Worksheets("CICI").Activate
Range("B11").Select
Range("B3:B10").End(xlUp).Offset(1, 0).Select
Selection.Value = "Date Lock"