mfgo@hotmail.com
Altın Üye
- Katılım
- 23 Ekim 2011
- Mesajlar
- 13
- Excel Vers. ve Dili
- 2003
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Hangi satırların yazılacağı nasıl belirleniyor?
Sub Hazırla()
[V:V] = ""
a = Cells(Rows.Count, "B").End(3).Row
Cells(a, "V") = Cells(a, "A")
Cells(a + 1, "V") = Cells(a, "B")
Cells(a + 2, "V") = Cells(a, "D")
Cells(a + 3, "V") = Cells(a, "E")
Cells(a + 4, "V") = Cells(a, "F")
Cells(a + 5, "V") = Cells(a, "G")
Cells(a + 6, "V") = Cells(a, "H")
Cells(a + 7, "V") = Cells(a, "J")
Cells(a + 8, "V") = Cells(a, "M")
Cells(a + 9, "V") = Cells(a, "N")
ActiveSheet.PageSetup.PrintArea = "$V$" & a & ":$V$" & a + 9
End Sub