...If Not Plaka Is Nothing Then
Tarih = Cells(Plaka.Row, "B")
Do
Set Plaka = .FindNext(Plaka)
If IlkAdres = Plaka.Address Then Exit Do
ReDim Preserve Ortalama(Say)...
...KY.Cells(Satır, "AH") = ÜF.Cells(Bul.Row, "J") 'GELİŞ DAHİL
Satır = Satır + 1
End If
Set Bul = ÜF.[H:H].FindNext(Bul)
Loop While Not Bul Is Nothing And Bul.Address <> adres
End If
MsgBox "YENİ ÜRÜN GİRİŞ KAYDI BAŞARIYLA YAPILMIŞTR."...
...+ 1
' Sonraki "ROUND" fonksiyonu içeren hücreyi bul
Set Formula_Rng = Sh.Range("L1:L" & lastRow).FindNext(Formula_Rng)
Loop While Not Formula_Rng Is Nothing
End If
Next Sh
Application.Calculation = xlCalculationAutomatic...
...+ 1
s1.Range(Cells(c.Row, 1).Address, Cells(c.Row, 20).Address).Copy s2.Range("A" & ss2)
Set c = s1.Cells.FindNext(c)
Loop While Not c Is Nothing And c.Address <> adres
Exit Sub
End If
MsgBox s2.Range("X1").Value & " Profil Numarası Kayıtlı...
...End If
Do
bul.EntireRow.Insert
With bul.Offset(-1, 0).Resize(1, 4)
.Merge True
.FormulaR1C1 = "Amirinin verdiği bütün işleri eksiksiz yapmak"
.Font.Bold = False
End With
sat = bul.Row
Set bul = Range("A:D").FindNext(bul)
Loop While bul.Row > sat
End Sub
Merhaba,
Findnext ile sonraki değeri buldurabilirsiniz.
Örnek olarak aşağıdaki kodu deneyiniz. Örnek dosya üzerinde denenmediği için hata oluşma olasılığının yüksek olduğunu unutmayınız.
Sub gorevformu()
Dim bul As Range
Set bul = Range("A:d").Find("şehirdışında")
sat = bul.Row + 1
Do...
Do
If CDbl(Sheets("Yıl").TextBox8.Text) = ara.Offset(0, 2).Value Then
MsgBox "var"
Exit Sub
End If
Set ara = Range("A2:A" & sat).FindNext(ara)
Loop While ara.Address <> adrs
MsgBox "yok"
Cevap için teşekkür ederim.
Textbox8 değeri varsa sorun yok, örneğin MURAT 2023 kaydet dediğimde yine var...
...bu kısmı
Do
If TextBox8.Text = ara.Offset(0, 2).Value Then
MsgBox "var"
Exit Do
Else
MsgBox "yok"
End If
Set ara = Range("A2:A" & sat).FindNext(ara)
Loop While ara.Address <> adrs
Aşağıdaki gibi değiştirip dener misiniz?
Do
If CDbl(Sheets("Yıl").TextBox8.Text) = ara.Offset(0, 2).Value Then...
...MsgBox "var"
Exit Do
Else
MsgBox "yok"
End If
Set ara = Range("A2:A" & sat).FindNext(ara)
Loop While ara.Address <> adrs
End With
ADI
FİYAT
YIL
MURAT
10
2020
MURAT
11
2021
MURAT
11
2022
MURAT
12...
...MsgBox TextBox5.Text & " Bulunamadı!!", vbCritical, "B U L U N A M A D I"
End If
Set ara = Range("A2:A" & sat).FindNext(ara)
Loop While Not ara Is Nothing And ara.Address <> adrs
End If
End With
End Sub
Kodda şöyle bir sıkıntı var, Textbox5 'teki...
...Is Nothing Then
firstAddr = foundCell.Address
Do
Set foundCell = Range("B:B").FindNext(foundCell)
If Not foundCell Is Nothing Then
foundCell.Offset(0, 1).Value = foundCell...
Öncelikler teşekkür ederim. Deneme yaptığım için biraz excellerde farklılık oldu. Kusura bakmayın. Bundan sonra excelleri netleştirip sorularda ona göre atarım. Elinize sağlık.
...adr = c.Address
Do
ReDim Preserve aranan(i)
aranan(i) = c.Address
i = i + 1
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> adr
End If
End With
'Sheet2 deki tüm Part Number
For a = LBound(aranan) To...
...Preserve myarr(1 To 23, 1 To a)
For j = 1 To 25
myarr(j, a) = .Cells(k.Row, j).Value
Next j
Set k = .Range("B2:B65536").FindNext(k)
Loop While Not k Is Nothing And k.Address <> adrs
Me.ListBox3.Column = myarr
' Me.ListBox3.RowSource = "personel!A2:W1000"
'...
...First_Address = Find_Date.Address
Do
Find_Date.Offset(, 1) = Target
Set Find_Date = Range("A:A").FindNext(Find_Date)
Loop While Not Find_Date Is Nothing And Find_Date.Address <> First_Address
End If
Set Find_Date = Nothing
10...
Sizlere daha iyi bir deneyim sunabilmek icin sitemizde çerez konumlandırmaktayız, web sitemizi kullanmaya devam ettiğinizde çerezler ile toplanan kişisel verileriniz Veri Politikamız / Bilgilendirmelerimizde belirtilen amaçlar ve yöntemlerle mevzuatına uygun olarak kullanılacaktır.