property MsgBox.FitToScreen as Boolean
Specifies whether the MessageBox or InputBox ensures that it fits the screen ( current monitor ).

TypeDescription
Boolean A Boolean expression that specifies whether the MessageBox or InputBox ensures that it fits the screen ( current monitor ).
By default, the FitToScreen property is True, which means that the MessageBox or InputBox always ensures that it fits the screen or the current monitor. The X and Y parameters of the Out or Input method specifies the position of the MessageBox / InputBox dialogs. For instance, if the FitToScreen property is False, the X or Y parameters could point anywhere on the screen, else the MessageBox/InputBox will always fit the screen or the current monitor.