- Katılım
- 5 Nisan 2011
- Mesajlar
- 18
- Excel Vers. ve Dili
- 2007
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Option Explicit
Sub BulAktar()
Dim c As Range, sat As Long, ilkadres As Variant, S1 As Worksheet
Set S1 = Sheets("Sayfa1")
Application.ScreenUpdating = False
Sheets("Sayfa3").Select
Range("A2:E" & Rows.Count).ClearContents
sat = 2
With S1.Range("A:A")
Set c = .Find("Telefon:", LookIn:=xlValues, LookAt:=xlWhole)
If Not c Is Nothing Then
ilkadres = c.Address
Do
Cells(sat, "A") = S1.Cells(c.Row - 1, "A")
Cells(sat, "B") = S1.Cells(c.Row + 1, "A")
Cells(sat, "C") = S1.Cells(c.Row + 1, "B")
Cells(sat, "D") = S1.Cells(c.Row + 1, "C")
Cells(sat, "E") = S1.Cells(c.Row + 3, "A")
sat = sat + 1
Set c = .FindNext(c)
Loop While Not c Is Nothing And c.Address <> ilkadres
End If
End With
Application.ScreenUpdating = True
End Sub