Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default UserForm when opening workbook will not fill screen

I have a user form that I want to have open when
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default UserForm when opening workbook will not fill screen

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.

"Anna B" wrote:

I have a user form that I want to have open when

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default UserForm when opening workbook will not fill screen

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


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


"Anna B" wrote in message ...
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.

"Anna B" wrote:

I have a user form that I want to have open when



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default UserForm when opening workbook will not fill screen


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


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=517426

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default UserForm when opening workbook will not fill screen

Thank you both, either option works great!



"davesexcel" wrote:


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


--
davesexcel
------------------------------------------------------------------------
davesexcel's Profile: http://www.excelforum.com/member.php...o&userid=31708
View this thread: http://www.excelforum.com/showthread...hreadid=517426


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why do I get a blue screen at the opening of a workbook? Dave Schmitt Excel Discussion (Misc queries) 0 February 23rd 08 10:25 PM
Workbook cannot be expanded to fill screen Karen Excel Discussion (Misc queries) 3 November 20th 07 12:19 AM
Userform and screen resolution funkymonkUK[_62_] Excel Programming 4 August 9th 05 02:18 PM
Excel VBA question - showing userform when opening workbook ajliaks Excel Programming 2 April 12th 04 06:24 PM
Userform Screen Location Don A. Excel Programming 2 July 30th 03 10:58 PM


All times are GMT +1. The time now is 04:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"