ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How do you keep a Dialog Box in the center of the screen? (https://www.excelbanter.com/excel-programming/378898-re-how-do-you-keep-dialog-box-center-screen.html)

NickHK

How do you keep a Dialog Box in the center of the screen?
 
Set the StartUpPosition of the userform to 2 - Center Screen.

NickHK
P.S. Wondering or wandering ?

"Bandit" wrote in message
...
Each time you activate a user designed Dialog box and close - the next

time
you activate the Dialog Box it shifts slightly to the upper left corner. I
would like to center it in the middle of the screen and keep it from
wondering.





All times are GMT +1. The time now is 11:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com