Merhaba;
Aşağıdaki kodda yazdırma hatası veriyor. Sebebi nedir acaba.
Sub yazdırTumu()
For i = 19 To 100
If Sayfa1.Cells(i, 14) = 0 Then Exit For
Sayfa1.Cells(27, 2) = Sayfa1.Cells(i, 13)
Sayfa1.Cells(27, 3) = Sayfa1.Cells(i, 23)
If Not Sayfa1.Cells(i, 25) = "1" Then Worksheets(Sayfa1).PrintOut
Next i
End Sub
Not : Worksheets(Sayfa1).PrintOut yerine sheets("Sayfa1").PrintOut yazdım yine olmadı
Yardımlarınız için teşekkür ederim.
Aşağıdaki kodda yazdırma hatası veriyor. Sebebi nedir acaba.
Sub yazdırTumu()
For i = 19 To 100
If Sayfa1.Cells(i, 14) = 0 Then Exit For
Sayfa1.Cells(27, 2) = Sayfa1.Cells(i, 13)
Sayfa1.Cells(27, 3) = Sayfa1.Cells(i, 23)
If Not Sayfa1.Cells(i, 25) = "1" Then Worksheets(Sayfa1).PrintOut
Next i
End Sub
Not : Worksheets(Sayfa1).PrintOut yerine sheets("Sayfa1").PrintOut yazdım yine olmadı
Yardımlarınız için teşekkür ederim.
