center print dialogue box

rjplante

Well-known Member
Joined
Oct 31, 2008
Messages
574
Office Version
  1. 365
Platform
  1. Windows
I have a three monitor setup and I use the center monitor to display my excel workbook. When I use VBA to call the print dialogue box, it is skewed to the right which is most likely the center of the three monitors. Is there a way to center the print dialogue box? I am using the line below to display the dialogue box, I just do not know how to center it.

Application.Dialogs(xlDialogPrint).Show
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Controlling application dialogs can be daunting. This might provide some insight

Often, the last position of a dialog when closed dictates where it opens next time it's called. Try opening it then dragging it onto the desired screen before you close it. Perhaps you did that already?
 
Upvote 0
Solution
You are correct. Thanks for the super easy fix. Those are my favorite.
 
Upvote 0
Glad I could help, & thanks for the recognition!
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,250
Members
452,623
Latest member
Techenthusiast

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