hello folks, I want to print 5 pages with ("hello" + page) string in each one and I have a problem with this code:
why it prints a previous white page?Code:Private Sub Command1_Click() Dim i As Long For i = 1 To 5 Printer.NewPage Printer.Print "hello " + Str(i) Next i Printer.EndDoc End Sub
how would be the code to avoid this previous white page?, thansk a lot,
Angel.




Reply With Quote