View Single Post
 
Old 03-12-2019, 06:09 PM
jjfreedman jjfreedman is offline Windows 10 Office 2016
Advanced Beginner
 
Join Date: May 2012
Location: https://jay-freedman.info
Posts: 39
jjfreedman is on a distinguished road
Default 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.
Reply With Quote