- Katılım
- 12 Mayıs 2016
- Mesajlar
- 386
- Excel Vers. ve Dili
- Ofis 2019- 32 Bit - Türkçe
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Aktar()
Dim S1, S2, Son1, Son2
Set S1 = Sheets("Sayfa1"): Set S2 = Sheets("Sayfa2")
Son1 = S1.Cells(Rows.Count, 3).End(3).Row: Son2 = S2.Cells(Rows.Count, 3).End(3).Row + 1
S2.Range(S2.Cells(Son2, 1), S2.Cells((Son2 + Son1) - 4, 5)).Value = S1.Range(S1.Cells(4, 1), S1.Cells(Son1, 5)).Value
MsgBox "islem tamam..."
End Sub
Sub Pdf_Dosyalari_Sil()
Dim Dosya
Dosya = Dir(CreateObject("Scripting.FileSystemObject").GetFolder(ThisWorkbook.Path) & Application.PathSeparator & "*.pdf*", vbDirectory)
Do While Dosya <> ""
Kill ThisWorkbook.Path & Application.PathSeparator & Dosya
Dosya = Dir
Loop
End Sub