- Katılım
- 28 Eylül 2007
- Mesajlar
- 4,024
- Excel Vers. ve Dili
- 2013 Türkçe
eki inceleyip yardımcı olurmusunuz.office 2007
Son düzenleme:
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Rica ederim.sayın espiyonajl çok teşekkür ederim.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Intersect(Target, [f1:g1]) Is Nothing Or [f1] = "" Or [g1] = "" Then Exit Sub
Set c = Range("a1:a" & [a65536].End(3).Row).Find([f1], LookIn:=xlValues)
If Not c Is Nothing Then
firstaddress = c.Address
Do
If Cells(c.Row, "b") = [g1] Then
Range(Cells(c.Row, "a"), Cells(c.Row, "d")).Copy
Cells([f65536].End(3).Row + 1, "f").PasteSpecial Paste:=xlValues
Cells([f65536].End(3).Row, "j") = c.Row & ". satır"
Application.CutCopyMode = False
Exit Sub: End If
Set c = Range("a1:a" & [a65536].End(3).Row).FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstaddress
End If
End Sub
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Intersect(Target, [f1:g1]) Is Nothing Or [f1] = "" Or [g1] = "" Then Exit Sub
Range("f2:j" & [f65536].End(3).Row + 1).ClearContents
Set Aralık = Range("a1:b" & [a65536].End(3).Row)
Set c = Aralık.Find([f1], LookIn:=xlValues)
If Not c Is Nothing Then
firstaddress = c.Address
Do
If Cells(c.Row, 2) = [g1] Or Cells(c.Row, 1) = [g1] Then
Sat = [f65536].End(3).Row + 1
Range(Cells(c.Row, "a"), Cells(c.Row, "d")).Copy
Cells(Sat, "f").PasteSpecial Paste:=xlValues
Cells(Sat, "j") = c.Row & ". satır"
Application.CutCopyMode = False
End If
Set c = Aralık.FindNext(c)
Loop While Not c Is Nothing And c.Address <> firstaddress
End If
End Sub