- Katılım
- 24 Aralık 2007
- Mesajlar
- 130
- Excel Vers. ve Dili
- 2007 Tr
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub Makro1()
'Dolu olan son satırı bulur
sat = Cells(65536, "A").End(xlUp).Row
Range("A" & sat & ":J" & sat).Select
Selection.Copy
Sheets("ARANANLAR").Select
sat = Cells(65536, "A").End(xlUp).Row + 1
Range("B" & sat).Select
ActiveSheet.Paste
Range("F" & sat & ":K" & sat).Select
Selection.Copy
Sheets("MÜD MAK").Select
sat = Cells(65536, "A").End(xlUp).Row + 1
Range("B" & sat).Select
ActiveSheet.Paste
Application.CutCopyMode = False
Sheets("SORGU").Select
End Sub
Sub SonSatiriKopyala()
Application.ScreenUpdating = False
Application.DisplayAlerts = False
'Dolu olan son satırı bulur
sat = Cells(65536, "A").End(xlUp).Row
Range("A" & sat & ":J" & sat).Select
Selection.Copy
Sheets("ARANANLAR").Select
sat = Cells(65536, "A").End(xlUp).Row + 1
sirano = Cells(sat - 1, "A").Value
If Not IsNumeric(sirano) Then sirano = 0
sirano = sirano + 1
Cells(sat, "A").Value = sirano
Range("B" & sat).Select
ActiveSheet.Paste
Range("F" & sat & ":K" & sat).Select
Selection.Copy
Sheets("MÜD MAK").Select
sat = Cells(65536, "A").End(xlUp).Row + 1
Range("B" & sat).Select
ActiveSheet.Paste
Cells(sat, "A").Value = sirano
Application.CutCopyMode = False
Sheets("SORGU").Select
Application.ScreenUpdating = True
Application.DisplayAlerts = True
End Sub
Sub SonSatiriKopyala()
Application.ScreenUpdating = False
Application.DisplayAlerts = False
'üzerinde bulunulan satırı kopyalar
sat = ActiveCell.Row
Range("A" & sat & ":J" & sat).Select
Selection.Copy
Sheets("ARANANLAR").Select
sat = Cells(65536, "A").End(xlUp).Row + 1
sirano = Cells(sat - 1, "A").Value
If Not IsNumeric(sirano) Then sirano = 0
sirano = sirano + 1
Cells(sat, "A").Value = sirano
Range("B" & sat).Select
ActiveSheet.Paste
Range("F" & sat & ":K" & sat).Select
Selection.Copy
Sheets("MÜD MAK").Select
sat = Cells(65536, "A").End(xlUp).Row + 1
Range("B" & sat).Select
ActiveSheet.Paste
Cells(sat, "A").Value = sirano
Application.CutCopyMode = False
Sheets("SORGU").Select
Application.ScreenUpdating = True
Application.DisplayAlerts = True
End Sub