You could use SendKeys to respond to it automatically. You can't suppress
it, as far as I know (it's not subject to the DisplayAlerts settings).
> Hello,
>
[quoted text clipped - 9 lines]
> suppress this dialog box from being appear with out changing the page
> setup?
Jean-Yves - 12 Sep 2006 14:29 GMT
Hi,
Was answered previously
Setting the alerts to none does not work if backgroung printing option is
selected.
Try this :
Dim temp as boolean
temp = Application.Options.PrintBackground
Application.Options.PrintBackground = False
Application.DisplayAlerts = wdAlertsNone
ActiveDocument.PrintOut
Application.DisplayAlerts = wdAlertsAll
Application.Options.PrintBackground = temp
Regards
Jean-Yves
> You could use SendKeys to respond to it automatically. You can't suppress
> it, as far as I know (it's not subject to the DisplayAlerts settings).
[quoted text clipped - 12 lines]
>> suppress this dialog box from being appear with out changing the page
>> setup?