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: 3
Default Print is paused by msgbox!


I use vba code as following to print the worksheet. But the print will go
after the Messege Box disappears. Why? Is there any method to avoid being
paused by Msgbox?
Thanks in advance!
Sub PrintWS()
ActiveDocument.PrintOut
MsgBox "Printint is over!"
End Sub

 
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
Can a macro be paused to allow input, then continue? Rufushenry Excel Worksheet Functions 2 December 31st 09 07:01 PM
how can a macro be paused for input and then resume executio Khan Excel Programming 2 March 15th 08 06:31 AM
Edit Cells while Macro is Paused at Message Box Magoo Excel Programming 4 February 28th 08 07:10 PM
Print and Copy option - MsgBox() Nigel Excel Programming 0 December 8th 06 06:52 PM
Print button on a msgbox Frank Excel Programming 2 June 3rd 05 12:20 PM


All times are GMT +1. The time now is 01:48 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"