Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Minimizing application from VBA



I've created an application in Excel VBA.
I would like to have Auto_Open(), plus a module if required, minimize the application while leaving the userform open. This essentially hides most evidence that the application in running in Excel VBA. I've tried about a dozen different combinations of code, but haven't yet succeded.

If I do application.windowsize = xlminimize followed by userform.show the form shows in
the minimized application leaving a flashing icon on the application bar.

Ideas would be appreciated.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 77
Default Minimizing application from VBA

Hi

Try Application.visible = False.

To make it visible again, Application.Visible = True.


HTH

Ken


"Steve" wrote in message
...


I've created an application in Excel VBA.
I would like to have Auto_Open(), plus a module if required, minimize the

application while leaving the userform open. This essentially hides most
evidence that the application in running in Excel VBA. I've tried about a
dozen different combinations of code, but haven't yet succeded.

If I do application.windowsize = xlminimize followed by userform.show the

form shows in
the minimized application leaving a flashing icon on the application bar.

Ideas would be appreciated.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 22/10/2003


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 141
Default Minimizing application from VBA

Thanks Ken

Seems to work fine.
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
Minimizing Rows of with similar data urlocaljeweler New Users to Excel 3 December 9th 09 06:22 PM
Minimizing number of commands N.F[_2_] Excel Discussion (Misc queries) 0 June 28th 07 07:48 PM
minimizing problem Dave Excel Discussion (Misc queries) 5 June 7th 05 06:29 PM
Minimizing a user form Sudhakar[_2_] Excel Programming 1 September 4th 03 11:29 PM
Minimizing a Form Khai[_2_] Excel Programming 1 July 24th 03 08:44 PM


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