Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UserForm Sizing

Status
Not open for further replies.

THarte

Programmer
May 8, 2002
28
US
Is there any way to make a userform cover the whole excel interface (minus toolbars)regardless of whether the Excel Window is maximized or made smaller?
 
Try something like :
Userform activate event
Me.Height = activewindow.usableheight
me.width = activewindow.usablewidth
me.left = activewindow.left

You may need to jigger about with the form startup position as well
HTH
Geoff
 
I am able to get the TOP setting right on the alignment of the form but no matter what value I put in LEFT the form stays glued to the left side of the screen. I have put values from -500 to 500 in there and it does not budge.
 
Never Mind, I got it. Kill the LEFT statement in the Activate Event and adjust Manually. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top