Automate IE "Print" Dialog Box Without SendKeys

footballplayer

New Member
Joined
Aug 26, 2017
Messages
2
Hello experts. I really need your expert help. I'm trying to automate the work with the IE 11 browser. I wrote a macro, but there was a problem. I can not automate the work with the IE browser dialog box. During the work of the macro, the site opens a new IE browser window with an already open print dialog box. I need to click the "OK" button in this window without using SendKeys. Is it possible to programmatically work with the IE browser dialog box? Found on this site a similar question, there is considered the automatic saving of a file in the browser: https://www.mrexcel.com/forum/excel...ile-download-dialog-box-without-sendkeys.html . Can I change the macro to work with the dialog box printing IE? Thank you! I will be glad to any help!
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top