K
Ken
I can't figure out why the following code stops executing after each
loop. When I step through the code it works fine. When I run it it
stops execution is interupted after each loop; if I "continue" it
picks up and works fine. Is there something that needs to follow the
PrintPreview (or PrintOut) statement to keep it from interupting?
Sub test2()
For i = 1 To 3
Worksheets(i).PrintPreview
Next i
End Sub
Thanks
Ken
loop. When I step through the code it works fine. When I run it it
stops execution is interupted after each loop; if I "continue" it
picks up and works fine. Is there something that needs to follow the
PrintPreview (or PrintOut) statement to keep it from interupting?
Sub test2()
For i = 1 To 3
Worksheets(i).PrintPreview
Next i
End Sub
Thanks
Ken