DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub yazdır()
Application.ScreenUpdating = False
On Error Resume Next
For i = 1 To [V65536].End(3).Row
If Cells(i, "V") = "X" Or Cells(i, "V") = "x" Then
Range("F8") = Cells(i, "W")
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
End If
Next i
Application.ScreenUpdating = True
MsgBox " B i t t i "
End Sub
Sub aktarr()
Application.ScreenUpdating = False
On Error Resume Next
Set S1 = ThisWorkbook.Worksheets("ana")
Set s2 = ThisWorkbook.Worksheets("kayıt")
For i = 1 To S1.[V65536].End(3).Row
If S1.Cells(i, "V") = "X" Or S1.Cells(i, "V") = "x" Then
S1.Range("F8") = S1.Cells(i, "W")
sonsatir = s2.Range("A65536").End(xlUp).Row + 1
s2.Cells(sonsatir, 1) = sonsatir - 1
s2.Cells(sonsatir, 2) = S1.Cells(9, "f")
s2.Cells(sonsatir, 3) = S1.Cells(10, "f")
s2.Cells(sonsatir, 4) = S1.Cells(8, "f")
s2.Cells(sonsatir, 5) = S1.Cells(8, "n")
s2.Cells(sonsatir, 6) = S1.Cells(21, "l")
s2.Cells(sonsatir, 1).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 2).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 3).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 4).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 5).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 6).Borders.LineStyle = xlContinuous
End If
Next i
[COLOR="Green"] 'S1.Range("V:V").ClearContents ' ANA sayfa V sütununu temizlemek için aktif edin.[/COLOR]
Application.ScreenUpdating = True
MsgBox "İşlem TAMAM.", vbInformation
End Sub
[FONT="Trebuchet MS"]s2.Cells(sonsatir, 1).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 2).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 3).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 4).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 5).Borders.LineStyle = xlContinuous
s2.Cells(sonsatir, 6).Borders.LineStyle = xlContinuous[/FONT]
[FONT="Trebuchet MS"]s2.Cells(1, 1).[B][COLOR="Red"]CurrentRegion[/COLOR][/B].Borders.LineStyle = 1 [/FONT]
Sub kod()
Application.ScreenUpdating = False
On Error Resume Next
ReDim dizial(1 To 1, 1 To 1)
For i = 1 To [V65536].End(3).Row
If Cells(i, "V") = "X" Or Cells(i, "V") = "x" Then
a = a + 1
ReDim Preserve dizial(1 To 1, 1 To a)
dizial(1, a) = Cells(i, "W")
End If
Next i
i = Empty
For i = 1 To a Step 2
Range("F8") = dizial(1, i)
Range("F36") = dizial(1, i + 1)
ActiveWindow.SelectedSheets.PrintOut Copies:=1, Collate:=True
Range("F8") = ""
Range("F36") = ""
Next i
Application.ScreenUpdating = True
MsgBox " B i t t i "
End Sub