#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Userforms

I have created an excel file with a useform. The file is
stored on a network.

How do i tell the userform to open automatically and fit
the screen full size. Other network users who use this
file have different screen settings which makes the form
too big or too small to view.

I would like the form to automatically adjust when opening.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Userforms

Hi Gary:

In the UserForm module:

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

Note that this will make the UserForm fill the entire Application window. If
the latter is maximized, the UserForm will fill the full screen.

If this does not meet your needs, post back. To make the UserForm fill the
full screen regardless of the size of the Application window is a bit more
complicated.

Regards,

Vasant.
"Gary" wrote in message
...
I have created an excel file with a useform. The file is
stored on a network.

How do i tell the userform to open automatically and fit
the screen full size. Other network users who use this
file have different screen settings which makes the form
too big or too small to view.

I would like the form to automatically adjust when opening.



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
Help with Userforms Panagiotis Marantos Excel Discussion (Misc queries) 2 July 25th 06 04:26 PM
I need some help with userforms T.c.Goosen1977 Charts and Charting in Excel 0 June 30th 06 09:29 AM
I need some help with userforms T.c.Goosen1977 Excel Discussion (Misc queries) 0 June 30th 06 09:27 AM
UserForms bennyob Excel Discussion (Misc queries) 4 November 7th 05 01:58 PM
Userforms Henry[_4_] Excel Programming 0 August 9th 03 11:37 PM


All times are GMT +1. The time now is 04:02 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"