G
Gerrit Kiers
Hi all.
I'd like to place my form based on the screenresolution of the user.
I want to right align on the screen so use value based on screenwidth
minus formwidth.
I did find a solution to this based on the
Application.Width value.
But I cannot write a code for it, since the
Userform.Left value
needs to be significantly smaller than what I would calculate from
Application.Width - Userform.Width
What is the relation between these two widths? How can I calculate the
form position from these values?
Kind regards, Gerrit
I'd like to place my form based on the screenresolution of the user.
I want to right align on the screen so use value based on screenwidth
minus formwidth.
I did find a solution to this based on the
Application.Width value.
But I cannot write a code for it, since the
Userform.Left value
needs to be significantly smaller than what I would calculate from
Application.Width - Userform.Width
What is the relation between these two widths? How can I calculate the
form position from these values?
Kind regards, Gerrit