- Katılım
- 12 Ekim 2010
- Mesajlar
- 52
- Excel Vers. ve Dili
- 2007 türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub sonsatır()
MsgBox Range("a65536").End(xlUp).Row
End Sub
Sub aranan_en_son_deger() 'aranan en son değer
Dim aranan As String
Dim Rng As Range
aranan = InputBox("Aranan kelimeyi yaz")
If Trim(aranan) <> "" Then
With Sheets(ActiveSheet.Name).Range("A2:V65000")
Set Rng = .Find(What:=aranan, After:=.Cells(1), LookIn:=xlValues, LookAt:=xlWhole, _
SearchOrder:=xlByRows, SearchDirection:=xlPrevious, MatchCase:=False)
If Not Rng Is Nothing Then
Application.Goto Rng, True
Else
MsgBox "Sonuç yok"
End If
End With
End If
End Sub
Sub aranan_en_son_deger() 'aranan en son değer
Dim aranan As String
Dim Rng As Range
aranan = InputBox("Aranan kelimeyi yaz")
If Trim(aranan) <> "" Then
With Sheets(ActiveSheet.Name).Range("A2:V65000")
Set Rng = .Find(What:=aranan, After:=.Cells(1), LookIn:=xlFormulas, LookAt:=xlPart, _
SearchOrder:=xlByRows, SearchDirection:=xlPrevious, MatchCase:=False)
If Not Rng Is Nothing Then
Application.Goto Rng, True
Else
MsgBox "Sonuç yok"
End If
End With
End If
End Sub