Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Print macro Excel 2003 used to work, now crashes | Excel Programming | |||
Print & Print Preview crashes | Excel Programming | |||
Excel crashes on simple procedure | Excel Programming | |||
Simple recorded macro crashes on playback. Why? | Excel Programming | |||
Simple code crashes Excel | Excel Programming |