Hello,
I currently have this formula and need it to pass a value "X" into the Cell if it's checked within the Userform Checkbox. There are 50 checkboxes and I'd like it to pass "X" into the selected one. I currently get "False" inserted into the cell.
Thanks much...
I currently have this formula and need it to pass a value "X" into the Cell if it's checked within the Userform Checkbox. There are 50 checkboxes and I'd like it to pass "X" into the selected one. I currently get "False" inserted into the cell.
Code:
Private Sub CommandButton1_Click()
Dim ws As Worksheet
Dim x As Long, j As Long
Set ws = Worksheets("Settings")
Unload Menu
x = 1
For j = 1 To 442 Step 9
x = x + 1
ws.Range("AJ" & x).Value = Menu_Controllables.Controls("Checkbox" & j).Value
Next
Set ws = Nothing
Unload Me
End Sub
Thanks much...