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
2668

Excel User Form Invalid Property Array Index Hatası

#24
Neyse abey ben yatar.Alttaki gibi deneyin birde.Bende alttaki gibide çalıştı.

Sub IlceAktar()
    Dim x As Integer, bul As Range
    Me.ComboBox_Ilce.Clear
    If Me.ComboBox_Sehir = "" Then GoTo son
    With Sheets("TANIMLAR")
        Set bul = .Range("B:B").Find(Me.ComboBox_Sehir.Value, , , 1)
        If Not bul Is Nothing Then
            Me.ComboBox_Sehir.Value = .Cells(bul.Row, 3).Value
            For x = 2 To .Range("A1000").End(xlUp).Row
                If .Range("A" & x).Value = bul.Value Then _
                         Me.ComboBox_Ilce.AddItem (.Range("D" & x).Value)
            Next
        End If
    End With
son:
    Set bul = Nothing
End Sub
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, 23:54
Task