Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to minimize a form using VB

Hi,

How to minimize a form during startup?

Public Sub Workbook_Open()

Userform.show

.......

Many Thanks,
Jean.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default How to minimize a form using VB

Jean,

If you use Load rather than Show it won't be immediately displayed, but will
be loaded into memory. Then you can Show it later when you are ready.

--
HTH

-------

Bob Phillips
... looking out across Poole Harbour to the Purbecks


"Jean Oct" wrote in message
...
Hi,

How to minimize a form during startup?

Public Sub Workbook_Open()

Userform.show

......

Many Thanks,
Jean.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default How to minimize a form using VB

Jean,

Sorry, but I don't understand the question. If it's minimized, it is not
showing is it?

If, as I guess you must be, are referring to not having a minimize and
maximize button on a form, then this requires API calls. Stephen Bullen
demonstrates the technique I believe in his FunForm example at
http://www.bmsltd.co.uk/Excel/Default.htm

--

HTH

Bob Phillips

"Jean Oct" wrote in message
...
Then if I want to show the form as minimized window
state , can I do so using VBA?

-----Original Message-----
Hi,

How to minimize a form during startup?

Public Sub Workbook_Open()

Userform.show

.......

Many Thanks,
Jean.
.



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
How do I minimize chrisnsmith Excel Discussion (Misc queries) 8 March 3rd 09 03:56 AM
Minimize?? Doug Mc New Users to Excel 3 January 30th 06 09:03 PM
how do i minimize/maximize a workbook from vba? I want to minimize it durring processing to speed things up a bit Daniel Excel Worksheet Functions 2 July 9th 05 03:35 AM
Minimize the filesize Roland Bengtsson Excel Discussion (Misc queries) 2 January 23rd 05 01:29 PM
window minimize Tom Ogilvy Excel Programming 4 July 18th 03 03:38 PM


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