I'm fairly new to VBA and have created a checkbox userform and want the caption for each checkbox to be the text in a cell in the worksheet. I keep seeing this line of code and copied it directly into the Userform_Click routine and it won't work. Any help with what I'm doing worng?
Private Sub UserForm_Click()
UserForm1.CheckBox1.Caption = Sheets("Sheet1").Range("A1").Value
End Sub
Any help is appreciated - Thanks
Private Sub UserForm_Click()
UserForm1.CheckBox1.Caption = Sheets("Sheet1").Range("A1").Value
End Sub
Any help is appreciated - Thanks