DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Aktar()
Dim Sg As Worksheet, bul As Range
Set Sg = Sheets("günlük gelir")
Application.ScreenUpdating = False
Sheets("Toplam").Select
Set bul = Rows(1).Find(Sg.Range("A2"), LookIn:=xlFormulas, LookAt:=xlWhole)
If Not bul Is Nothing Then
Sg.Range("C2:C17").Copy
Cells(2, bul.Column).PasteSpecial xlPasteValues, xlNone
Application.CutCopyMode = False
Range("A1").Select
Else
MsgBox "Tarihi Bulamadım"
End If
Application.ScreenUpdating = True
End Sub
Merhaba,
Module kopyalarak çalıştırınız.
.Kod:Sub Aktar() Dim Sg As Worksheet, bul As Range Set Sg = Sheets("günlük gelir") Application.ScreenUpdating = False Sheets("Toplam").Select Set bul = Rows(1).Find(Sg.Range("A2"), LookIn:=xlFormulas, LookAt:=xlWhole) If Not bul Is Nothing Then Sg.Range("C2:C17").Copy Cells(2, bul.Column).PasteSpecial xlPasteValues, xlNone Application.CutCopyMode = False Range("A1").Select Else MsgBox "Tarihi Bulamadım" End If Application.ScreenUpdating = True End Sub