Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Is there a fancy way to open a workbook in a minimized window stat

Hi,

I have written a VBA application that initially open 3 workbooks - one of
them in a minimized state. The application then open several selected
workbooks . Each workbook is minimized, modified and closed before the next
workbook is opened.

Even if I'm using the ActiveWindow.WindowState = xlMinimized, each workbook
keep flashing up a moment on the screen before it is minimized, and it looks
quite disturbing.

What I need i a way to open a selected workbook in a minimized way.

How can this be done ?


Regards

Frank

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Is there a fancy way to open a workbook in a minimized window stat

Just curious, but why does the workbook need to be minimised?

If it is because you don't want the user to see the workbooks opening andd
closing, you could put
application.screenupdating = false
at the start of your code, then put it back to true at the end.

"Frank Krogh" wrote:

Hi,

I have written a VBA application that initially open 3 workbooks - one of
them in a minimized state. The application then open several selected
workbooks . Each workbook is minimized, modified and closed before the next
workbook is opened.

Even if I'm using the ActiveWindow.WindowState = xlMinimized, each workbook
keep flashing up a moment on the screen before it is minimized, and it looks
quite disturbing.

What I need i a way to open a selected workbook in a minimized way.

How can this be done ?


Regards

Frank

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Is there a fancy way to open a workbook in a minimized window

Thank you for your logic question - it's the simple, but perfect solution.

regards
Frank

I just turn on the

"George J" wrote:

Just curious, but why does the workbook need to be minimised?

If it is because you don't want the user to see the workbooks opening andd
closing, you could put
application.screenupdating = false
at the start of your code, then put it back to true at the end.

"Frank Krogh" wrote:

Hi,

I have written a VBA application that initially open 3 workbooks - one of
them in a minimized state. The application then open several selected
workbooks . Each workbook is minimized, modified and closed before the next
workbook is opened.

Even if I'm using the ActiveWindow.WindowState = xlMinimized, each workbook
keep flashing up a moment on the screen before it is minimized, and it looks
quite disturbing.

What I need i a way to open a selected workbook in a minimized way.

How can this be done ?


Regards

Frank

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
Open new workbook(s) when userform and excel are minimized Arjan Excel Programming 5 November 9th 06 07:06 AM
Help window opens minimized Dick L Excel Discussion (Misc queries) 0 September 22nd 05 12:07 AM
Excel workbook does not open in open window on desktop DeanH Excel Discussion (Misc queries) 2 March 8th 05 09:51 AM
Running Macro in Minimized Excel Window Rich[_16_] Excel Programming 1 August 3rd 04 02:23 AM
show the form as minimized window Jean Oct Excel Programming 1 July 28th 03 10:44 PM


All times are GMT +1. The time now is 12:38 PM.

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"