UserForm Opening up really small

gheyman

Well-known Member
Joined
Nov 14, 2005
Messages
2,347
Office Version
  1. 365
Platform
  1. Windows
I have a userform that opened using code:

Code:
Sub UserForm_CopyDataToPPTemplates()

UserForm1.Show

End Sub

It opens, but every time it open the width (142) and height (209) are being reset somehow. I don't not have any initialize code so I don't understand why they keep getting changed to the aforementioned sizes.

Any help is appreciated
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Are you using multiple monitors? (I've seen problems with manual settings, but you said you didn't changed your form top/left/height/width)
 
Upvote 0
Are you using multiple monitors? (I've seen problems with manual settings, but you said you didn't changed your form top/left/height/width)
Yes, I am using multiple monitors. I use a lot of workbooks that have UserForms and I have never encountered this before.
 
Upvote 0
Yes, I am using multiple monitors. I use a lot of workbooks that have UserForms and I have never encountered this before.
If you would like to post the solution then it is perfectly fine to mark your post as the solution to help future readers. Otherwise, please do not mark a post that doesn't contain a solution.
 
Upvote 0
I had to delete the UserForm and recreate it. Not sure what was happening, but this was the only solution I found to fix it. I think it was just an anomaly.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top