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

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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