Skip to main content

AccessTr.neT


Excel User Form Invalid Property Array Index Hatası

Oğuz Türkyılmaz
Oğuz Türkyılmaz
40
2594

Excel User Form Invalid Property Array Index Hatası

#19
Listindex olayına gerek kalmadan alttaki kodlar iş görür.

[Resim: do.php?img=10750]

Sub IlceAktar()
    Dim x As Integer, bul As Range
    ComboBox_Ilce.Clear
    If ComboBox_Sehir = "" Then GoTo son
    Set bul = Sheets("TANIMLAR").Range("B:B").Find(ComboBox_Sehir.Value, , , 1)
    If Not bul Is Nothing Then
        ComboBox_Sehir.Value = bul.Offset(0, 1).Value
        For x = 2 To Sheets("TANIMLAR").Range("A1000").End(xlUp).Row
            If Sheets("TANIMLAR").Range("A" & x).Value = bul.Value Then _
                    ComboBox_Ilce.AddItem (Sheets("TANIMLAR").Range("D" & x).Value)
        Next
    End If
son:
    Set bul = Nothing
End Sub
.rar WİNPERAX.rar (Dosya Boyutu: 70,89 KB | İndirme Sayısı: 0)
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
Re: Excel User Form Invalid Property Array Index Hatası - Yazar: feraz - 01/03/2021, 19:09
Task