This is the weirdest behavior I've ever seen in >15 years of VBA. All of the userforms in my largest Word add-in suddenly now display at vastly more than their intended width and with a varying amount of extra height.
All controls are proportionally elongated horizontally, but not vertically. (So there's a chunk of extra dead space at the bottom of the form, but none on the side.)
The extreme width ranges from double to quintuple the design width, and is visible both in the VBE and when the form is run. But the added height (which is not nearly as extreme, typically an inch or so) is seen only when the form is run.
Adjusting a form's width explicitly in the Activate event (Me.Width = xxx) restores normal proportions to all controls
no matter what width is specified. That is, I can get normal appearance by adding Width and Height specs and then fudging the intended dimensions by trial & error. Clearly that's not a fix. (This add-in has over 30 userforms.)
The screenshots attached illustrate. Sorry for the resizing, but the original dimensions of the uncorrected one would make the post's window a scrolling nightmare. Notice the shape of the buttons on right in the ridiculous image vs. the nonridiculous images. The actual displayed width of the former is more than 4x that of the latter.
This happens on various PCs with different video card and monitor setups, so obviously it's not a hardware thing. Where do I even start?
Grateful for any clues.
Mark