bir sorum daha şu ki
userform2 nin üzerinde 34 tane checkbox mevcut. aşağıdaki kodu tüm checkboxlar için ayrı ayrı girmektense tek bir kod yazıp da tüm checkboxlara uygulamak mümkün müdür for next ile?
yani for i=1 to 34
for j=4 to 39
checkbox(i)
Sheets("İÇİNDEKİLER").cells(j,12)
userform2 nin üzerinde 34 tane checkbox mevcut. aşağıdaki kodu tüm checkboxlar için ayrı ayrı girmektense tek bir kod yazıp da tüm checkboxlara uygulamak mümkün müdür for next ile?
yani for i=1 to 34
for j=4 to 39
checkbox(i)
Sheets("İÇİNDEKİLER").cells(j,12)
Kod:
Private Sub CheckBox1_Click()
If CheckBox1 = True Then
Sheets("İÇİNDEKİLER").Range("L4")= True
Else
Sheets("İÇİNDEKİLER").Range("L4") = False
End If
End Sub
