Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Open new workbook(s) when userform and excel are minimized

Hi all,

I have created an excel workbook (i.e. called A) with a userform. When
opened, the workbook is set to be not visible and the userform is set to be
visible. This all works fine, however when I try to open a new workbook I
can't.. It looks like the new workbook is set to be invisible too..

So, how can I to open new visible workbooks when the userform of workbook
(A) is minimized and workbook (A) is not visible?


thnx!!

Arjan Bregman

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Open new workbook(s) when userform and excel are minimized

Arjan,
Are you hiding Excel or the window of the workbook ?

NickHK

"Arjan" wrote in message
...
Hi all,

I have created an excel workbook (i.e. called A) with a userform. When
opened, the workbook is set to be not visible and the userform is set to

be
visible. This all works fine, however when I try to open a new workbook I
can't.. It looks like the new workbook is set to be invisible too..

So, how can I to open new visible workbooks when the userform of workbook
(A) is minimized and workbook (A) is not visible?


thnx!!

Arjan Bregman



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Open new workbook(s) when userform and excel are minimized

Nick,

this is the code which is used during the workbook open event :
_________
application.visible = false
userform.show
application.visible = true
___________
Arjan


--
Arjan Bregman

*****
the knowledge is always there, maybe hidden, but it is there..
*****


"NickHK" wrote:

Arjan,
Are you hiding Excel or the window of the workbook ?

NickHK

"Arjan" wrote in message
...
Hi all,

I have created an excel workbook (i.e. called A) with a userform. When
opened, the workbook is set to be not visible and the userform is set to

be
visible. This all works fine, however when I try to open a new workbook I
can't.. It looks like the new workbook is set to be invisible too..

So, how can I to open new visible workbooks when the userform of workbook
(A) is minimized and workbook (A) is not visible?


thnx!!

Arjan Bregman




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Open new workbook(s) when userform and excel are minimized

Arjan,
But your code shows the app visible. What is minimised and/or hidden after ?
Otherwise you workbooks.open would be normal.

NickHK

"Arjan" wrote in message
...
Nick,

this is the code which is used during the workbook open event :
_________
application.visible = false
userform.show
application.visible = true
___________
Arjan


--
Arjan Bregman

*****
the knowledge is always there, maybe hidden, but it is there..
*****


"NickHK" wrote:

Arjan,
Are you hiding Excel or the window of the workbook ?

NickHK

"Arjan" wrote in message
...
Hi all,

I have created an excel workbook (i.e. called A) with a userform. When
opened, the workbook is set to be not visible and the userform is set

to
be
visible. This all works fine, however when I try to open a new

workbook I
can't.. It looks like the new workbook is set to be invisible too..

So, how can I to open new visible workbooks when the userform of

workbook
(A) is minimized and workbook (A) is not visible?


thnx!!

Arjan Bregman






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 29
Default Open new workbook(s) when userform and excel are minimized

Nick,

Sorry, for my mistake..

this is the correct code:
______________
Sub Auto_Open()
Application.Visible = False
UserForm.Show
End Sub
______________

The only visible part of the app is the userform.

any idea?


--
Arjan Bregman

*****
the knowledge is always there, maybe hidden, but it is there..
*****


"NickHK" wrote:

Arjan,
But your code shows the app visible. What is minimised and/or hidden after ?
Otherwise you workbooks.open would be normal.

NickHK

"Arjan" wrote in message
...
Nick,

this is the code which is used during the workbook open event :
_________
application.visible = false
userform.show
application.visible = true
___________
Arjan


--
Arjan Bregman

*****
the knowledge is always there, maybe hidden, but it is there..
*****


"NickHK" wrote:

Arjan,
Are you hiding Excel or the window of the workbook ?

NickHK

"Arjan" wrote in message
...
Hi all,

I have created an excel workbook (i.e. called A) with a userform. When
opened, the workbook is set to be not visible and the userform is set

to
be
visible. This all works fine, however when I try to open a new

workbook I
can't.. It looks like the new workbook is set to be invisible too..

So, how can I to open new visible workbooks when the userform of

workbook
(A) is minimized and workbook (A) is not visible?


thnx!!

Arjan Bregman









  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Open new workbook(s) when userform and excel are minimized

Arjan,
Well yes, if Excel is not visible, how can a workbook contained in it be
visible ?
You would have to make the Application visible also.

NickHK

"Arjan" wrote in message
...
Nick,

Sorry, for my mistake..

this is the correct code:
______________
Sub Auto_Open()
Application.Visible = False
UserForm.Show
End Sub
______________

The only visible part of the app is the userform.

any idea?


--
Arjan Bregman

*****
the knowledge is always there, maybe hidden, but it is there..
*****


"NickHK" wrote:

Arjan,
But your code shows the app visible. What is minimised and/or hidden

after ?
Otherwise you workbooks.open would be normal.

NickHK

"Arjan" wrote in message
...
Nick,

this is the code which is used during the workbook open event :
_________
application.visible = false
userform.show
application.visible = true
___________
Arjan


--
Arjan Bregman

*****
the knowledge is always there, maybe hidden, but it is there..
*****


"NickHK" wrote:

Arjan,
Are you hiding Excel or the window of the workbook ?

NickHK

"Arjan" wrote in message
...
Hi all,

I have created an excel workbook (i.e. called A) with a userform.

When
opened, the workbook is set to be not visible and the userform is

set
to
be
visible. This all works fine, however when I try to open a new

workbook I
can't.. It looks like the new workbook is set to be invisible

too..

So, how can I to open new visible workbooks when the userform of

workbook
(A) is minimized and workbook (A) is not visible?


thnx!!

Arjan Bregman









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
Workbook Opens Minimized LarryP Excel Discussion (Misc queries) 0 August 31st 09 07:16 PM
Excel does not open a file until it is minimized - how to repair? Duri Excel Discussion (Misc queries) 1 January 1st 08 11:16 PM
showing userform with excel minimized JNW Excel Programming 6 November 8th 06 08:05 PM
open Userform in Another workbook geebee Excel Programming 5 October 4th 06 11:15 PM
Excel not taking the minimized bar to open next excel file Ivan Oats Excel Discussion (Misc queries) 1 February 18th 06 03:27 PM


All times are GMT +1. The time now is 05:37 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"