0
I created a form in vba (excel) and in this form contains a checkbox, I would like to trigger a given command if the checkbox is marked, however the code to be triggered is in a module sub
separate from the userForm
.
I would like to know how I can reference the checkbox. Below is the code to be triggered:
If (ccbDeleteForms = True) Then
plRelatorio.Activate
Rows("10418:40000").Select
Selection.Delete
End If
Problem solved, just use (form name).(property to be referenced) For example, highwaySelection.ccbDeleteForms.locked = false
– Iago Gonalves