Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 49956

Userform issues list boxes moving location and form resizing

$
0
0
Hi,

Im wondering if anyone has come across similar issues and how these were resolved.

I am updating a workbook which has a number of userforms and is linked to an external database held on a server.

There seems to be issues with a couple of large userforms on this workbook.

These were created using Excel 2013 but are now being updated with Excel 365 (desktop), build 1902.

The set up for viewing is a Surface Pro 4, with screen extended via a hub to 2 additional monitors (1920x1068).

1) When selecting options in a list box the userform will flicker and the location of the list boxes changes, but if you then drag the userform even just a tiny bit the userform returns to normal.

2) when viewing the form from the code editor the form appears much larger. like its being zoomed in.
But if you attempt to adjust the height/width then the contents of the form snap back to normal, but the height and width remain the same and has to be adjusted.


These things happen even when the height/width are defined.

Note: There is a seperate function within the code that sets the opening point of the form as the centre of the screen where the workbook is opened.

I have tried blocking this code in case it was this causing the issues, but they still happen.


I have tried using the option to get the best resolution/view etc but this reduces the size of the user form and its not suitable for use. However, could this be used and then zoom in to the userform? could that resolve the issue?

Viewing all articles
Browse latest Browse all 49956

Trending Articles