- Katılım
- 10 Ekim 2012
- Mesajlar
- 7
- Excel Vers. ve Dili
- 2010
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Merhabalar;
bana yardımcı olabilir misiniz?
[FONT="Trebuchet MS"]Private Sub Worksheet_Change(ByVal Target As Range)
Dim Rky As Range
If Target.Row <> 4 Or Not IsDate(Target.Value) Then Exit Sub
If Target.Value = "" Then Exit Sub
Set Rky = Sayfa1.Columns(Target.Column).Find(CDate(Target.Value), , , 1)
If Not Rky Is Nothing Then
Target.Offset(0, 1).Value = Rky.Offset(0, 1).Value
Target.Offset(0, 2).Value = Rky.Offset(0, 2).End(3).Value
End If
Set Rky = Nothing
End Sub[/FONT]
[FONT="Trebuchet MS"]Sub Emre()
Dim Rky As Range, i%
For i = 2 To 20
If Cells(4, i) <> "" Then
Set Rky = Sayfa1.Columns(i).Find(CDate(Cells(4, i).Value), , , 1)
If Not Rky Is Nothing Then
Cells(4, i).Offset(0, 1).Value = Rky.Offset(0, 1).Value
Cells(4, i).Offset(0, 2).Value = Rky.Offset(0, 2).End(3).Value
End If
End If
Next i
i = Empty: Set Rky = Nothing
End Sub
[/FONT]