Мой код If CheckBox4.Checked = True Then rtools = True Else : rtools = False End If только для одной формы. Теперь у меня две формы. Все чекбоксы в форме2. Каждое тело может мне помочь?
If CheckBox4.Checked = True Then rtools = True Else : rtools = False End If
попробуйте что-то подобное в вашем коде для Form2
dim checkboxresults as bool if form1.checkbox1.checked = true then checkboxresults = true else checkboxresults = false end if