![]() |
|
#2
|
|||
|
|||
|
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. |
| Tags |
| document, userform, vba |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Thumbnail/Navigation/slide pane on wrong side (right side vs Left) | Pirate Capttain | PowerPoint | 5 | 11-12-2024 01:45 AM |
How to install MS Access 2010 and MS Office 2016 side by side
|
abdan | Office | 1 | 04-09-2018 02:55 AM |
Open different (additional) document in same window - view two documents side-by side in one window
|
MANOHAR | Word | 5 | 11-14-2017 03:06 AM |
How do I put 2 lists side by side and find out what the first list doesn't have from the second?
|
kshlomo | Word | 5 | 01-27-2017 05:04 PM |
| View side-by-side not working in MS Word 2016 Professional | Donna P | Word | 0 | 01-06-2017 10:02 AM |