Thread
:
maximizing the size of a UserForm
View Single Post
#
7
Posted to microsoft.public.excel.programming
Nigel[_2_]
external usenet poster
Posts: 735
maximizing the size of a UserForm
Try putting this into your UserForm initialize event.......
Application.WindowState = xlMaximized
Me.Width = Application.Width
Me.Height = Application.Height
--
Regards,
Nigel
"Takashi Yamauchi" wrote in message
...
Could anyone give me a suggestion?
As I open a UserForm, I want to maximize the size of the form (making it
as large as my monitor). In the VB6 Form property, there is a property
called "WindowState" and I can select "Maximized." But, I can't find a
similar property in Excel VBA. How can I automatically maximize a UserForm
in Excel VBA?
Thank you
Takashi Yamauchi
Reply With Quote
Nigel[_2_]
View Public Profile
Find all posts by Nigel[_2_]