zulfuernek
Altın Üye
- Katılım
- 24 Haziran 2017
- Mesajlar
- 761
- Excel Vers. ve Dili
- türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Private Sub CommandButton4_Click()
UserForm1.Label1 = Label1.Caption
UserForm1.Label2 = Label2.Caption
UserForm2.Hide
UserForm1.Show
End Sub
Private Sub UserForm_Initialize()
ComboBox1.RowSource = "Sayfa1!A1:A" & Sheets("Sayfa1").Cells(Rows.Count, "A").End(3).Row
End Sub
Private Sub ComboBox1_Change()
If ComboBox1 <> "" Then
Label1.Caption = Sheets("Sayfa1").Cells(ComboBox1.ListIndex + 1, 2)
Label2.Caption = Sheets("Sayfa1").Cells(ComboBox1.ListIndex + 1, 3)
ono = (ComboBox1.ListIndex) * 2 + 3
Image1.Picture = UserForm2.Controls("OptionButton" & ono).Picture
Image2.Picture = UserForm2.Controls("OptionButton" & ono + 1).Picture
End If
End Sub