LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
GM GM is offline
external usenet poster
 
Posts: 23
Default Turn off printing status dialog with Excel automation

Does anyone know how to turn off the printing status dialog, which is
displayed when printing a sheet with excel via automation?

By using this code, there is always displayed a print status dialog, while
excel is printing the document.

app.CreateDispatch("Excel.Application");
app.SetVisible(FALSE);
app.SetDisplayAlerts(FALSE);

workbooks = app.GetWorkbooks();
workbook = workbooks.Open(.....);
workbook.PrintOut(vOpt, vOpt, vOpt, vOpt, cstrPrinter, vOpt, vOpt);

Thanks for help
gm

 
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
Formula, automation turn red if value exceed a number Daniel Excel Worksheet Functions 4 April 3rd 23 02:28 PM
Turn off getting started dialog John Collins[_2_] New Users to Excel 3 April 9th 08 11:24 PM
how do I turn off the insert function dialog box in excel formulas Judy B from Lake Erie Excel Worksheet Functions 2 February 14th 08 08:52 PM
Outlook Email Send Dialog Boxes, Excel 2003 How to Turn Off or Rem Kit Excel Discussion (Misc queries) 0 May 11th 07 06:33 PM
Printing Text from Excel Automation Tom Ogilvy Excel Programming 0 August 6th 04 04:07 PM


All times are GMT +1. The time now is 04:00 AM.

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

About Us

"It's about Microsoft Excel"