Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / February 2006

Tip: Looking for answers? Try searching our database.

UserForm when opening workbook will not fill screen

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anna B - 28 Feb 2006 18:24 GMT
I have a user form that I want to have open when
Anna B - 28 Feb 2006 18:30 GMT
Sorry, let me try this again.  I have a userform that I want to have open
when the workbook opens.  I have managed to do this, but the form only fills
up part of the screen.  Is there a way to make it fill up the whole screen?
Thanks for your help.

> I have a user form that I want to have open when
Ron de Bruin - 28 Feb 2006 18:35 GMT
Hi Anna

You can use this event in the userform

Private Sub UserForm_Initialize()
   With Application
       Me.Top = .Top
       Me.Left = .Left
       Me.Height = .Height
       Me.Width = .Width
   End With
End Sub

Signature

Regards Ron de Bruin
http://www.rondebruin.nl

> Sorry, let me try this again.  I have a userform that I want to have open
> when the workbook opens.  I have managed to do this, but the form only fills
> up part of the screen.  Is there a way to make it fill up the whole screen?
> Thanks for your help.
>
>> I have a user form that I want to have open when
davesexcel - 28 Feb 2006 18:39 GMT
go back into visual basics click on the userform and click on the
diamonds on the sides and stretch it out till it is as big as you want
it, there are lots of papers on doing this with a code but I can't find
it in my library at the moment

Signature

davesexcel

Anna B - 28 Feb 2006 19:48 GMT
Thank you both, either option works great!  

> go back into visual basics click on the userform and click on the
> diamonds on the sides and stretch it out till it is as big as you want
> it, there are lots of papers on doing this with a code but I can't find
> it in my library at the moment
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.