- Katılım
- 12 Ekim 2010
- Mesajlar
- 224
- Excel Vers. ve Dili
- 2013 türkçe
Kurum Sayfasında b3 b 100 arası bulunan veri Ana Sayfada ki Combobox ta listeleniyor..
Ben kurum sayfasına girip b hücrelerine elle veri girdiğimde Ana Sayfadaki combobox içinde bulunan bu makro çalışıyor neden çalıştığını bir türlü anlayamadım
b hücresine veri girer girmez ana sayfaya geçiyor... Çıldırmak üzereyim lütfen yardımcı olurmusunuz..
Private Sub ComboBox23_Change()
Dim Kur1 As Range
For Each Kur1 In Sheets("Kurum").Range("b3:b100")
If ComboBox23.Value = Kur1.Value Then
Label27.Caption = ComboBox23.Value
Label28.Caption = Kur1.Offset(0, 1).Value
Label30.Caption = Kur1.Offset(0, 2).Value
Set Kur1 = Nothing
Exit Sub
End If
If CheckBox23.Value = True Then
CheckBox23.Value = False
CheckBox23.Value = True
End If
If CheckBox22.Value = True Then
CheckBox22.Value = False
CheckBox22.Value = True
End If
Next Kur1
End Sub
Ben kurum sayfasına girip b hücrelerine elle veri girdiğimde Ana Sayfadaki combobox içinde bulunan bu makro çalışıyor neden çalıştığını bir türlü anlayamadım
b hücresine veri girer girmez ana sayfaya geçiyor... Çıldırmak üzereyim lütfen yardımcı olurmusunuz..
Private Sub ComboBox23_Change()
Dim Kur1 As Range
For Each Kur1 In Sheets("Kurum").Range("b3:b100")
If ComboBox23.Value = Kur1.Value Then
Label27.Caption = ComboBox23.Value
Label28.Caption = Kur1.Offset(0, 1).Value
Label30.Caption = Kur1.Offset(0, 2).Value
Set Kur1 = Nothing
Exit Sub
End If
If CheckBox23.Value = True Then
CheckBox23.Value = False
CheckBox23.Value = True
End If
If CheckBox22.Value = True Then
CheckBox22.Value = False
CheckBox22.Value = True
End If
Next Kur1
End Sub
