zulfuernek
Altın Üye
- Katılım
- 24 Haziran 2017
- Mesajlar
- 761
- Excel Vers. ve Dili
- türkçe
- Altın Üyelik Bitiş Tarihi
- 11-04-2030
Sub imageye_resim_çağır()
'HANGİ OPTİON BUTTON SEÇİLİYSE RESMİ PİCTUREYE ALIR VE İSMİNİ TEXTBOXA YAZAR
For rsm = 1 To 298
If Controls("OptionButton" & rsm).Caption = TextBox1 Then
Image3.Picture = Controls("OptionButton" & rsm).Picture
End If
Next
End Sub
Private Sub OptionButton6_Click()
sat = 2: sut = 3
If OptionButton6 = True Then TextBox1 = OptionButton6.Caption
Call imageye_resim_çağır
End Sub
yukarıdaki kodları modüle ve kodlama böülümüne yazıyorum. amacım userform 300 tane optionbuttona aynı kodlamayı tek tek azmaktansa module den alması. ancak çalıştırmıyor. hata nerededir acaba
'HANGİ OPTİON BUTTON SEÇİLİYSE RESMİ PİCTUREYE ALIR VE İSMİNİ TEXTBOXA YAZAR
For rsm = 1 To 298
If Controls("OptionButton" & rsm).Caption = TextBox1 Then
Image3.Picture = Controls("OptionButton" & rsm).Picture
End If
Next
End Sub
Private Sub OptionButton6_Click()
sat = 2: sut = 3
If OptionButton6 = True Then TextBox1 = OptionButton6.Caption
Call imageye_resim_çağır
End Sub
yukarıdaki kodları modüle ve kodlama böülümüne yazıyorum. amacım userform 300 tane optionbuttona aynı kodlamayı tek tek azmaktansa module den alması. ancak çalıştırmıyor. hata nerededir acaba
