Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

Private Sub Button4_Click()

Dim Phon, Akhee As Integer


Phon = Range("p32").Value
Akhee = Range("p33").Value

If Phon <= Akhee And Phon >= 1 Then


Application.ScreenUpdating = False
For i = Phon To Akhee
With Sheets("RAPORT")
.Range("p31").Value = i
.PrintOut
End With
Next i
Else
MsgBox "Cek lagi Nomor yang akan dicetak...!!!!", vbCritical, "Cetak Halaman"
End If
End Sub

You might also like