LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Need to Wait for 'Print' or 'Close' (VBA)


I've got code that includes importing data from solidworks and printing
multiple sheets. since things can tend to be wrong, i'd like the code
to bring up the print preview for a sheet, wait for the user to either
hit 'Close' or 'Print' and then continue to the next sheet...

any time i leave the preview open for more than about 10 seconds i get
a popup complaining that the server's busy, and i have the options of
'switch to' and 'retry.

i really want to get rid of this window, and it's only coming up
because the print preview is waiting for user input.

is there a property like 'WorksheetIsCurrentlyInPrintPreview' that i
could flag?

is there an event trigger that i could use? 'OnPrint'? or
'OnClosePrintPreview'?

any advice at all?


--
Milothicus
------------------------------------------------------------------------
Milothicus's Profile: http://www.excelforum.com/member.php...o&userid=15121
View this thread: http://www.excelforum.com/showthread...hreadid=378923

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sendkeys(keys,wait) how do I use wait MM Excel Discussion (Misc queries) 1 February 11th 09 03:47 PM
Print before close Renato8 Excel Discussion (Misc queries) 2 April 28th 06 09:03 PM
how to close print preview Lou Allen Excel Worksheet Functions 1 July 24th 05 03:39 AM
Open, print and close workbook despistado[_4_] Excel Programming 0 November 12th 04 07:51 AM
Open, print and close workbook despistado Excel Programming 1 November 11th 04 10:47 AM


All times are GMT +1. The time now is 09:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"