How to make userform and active document stand side by side
Your code can set the .Top, .Left, .Width, and .Height properties of both the Word window and the userform to the desired values. (You'll want to get the screen size from System.HorizontalResolution and System.VerticalResolution and use the PixelsToPoints function to convert them to points for use in the window and userform values.)
What you cannot do is prevent the user from dragging the sides of the Word window. However, zooming won't change the window size, it just changes the sizes of the objects inside the window.
|