Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default UserForm Toolbox displaying

Excel 2002, WinXP
When I am building a UserForm the VBE displays a small square toolbox. I am
calling that toolbox the UserForm Toolbox for purposes of this message.
My scenario is not in the VBE.
I have a workbook sheet on the screen.
I have a user-built menu.
I click on one of the menu items.
Nothing in my code refers back to the VBE.
When the code starts executing, the UserForm Toolbox is displayed on the
screen as well as the progress UserForm I would expect. This UserForm
displays a moving bar as the code progresses.
The UserForm and toolbox appear only for a split second because, for
development purposes, I am using only a very small piece of data on which
the code acts.

My question is:
Why does the toolbar appear?
Thanks for your help. Otto


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default UserForm Toolbox displaying


i've seen this happen to me too :(

i think it's a bug.

open all forms in designmode and make sure the control toolbox is NOT
displayed. close the forms. save the xls or xla.

in one of my addins I've even had to include it in
my SaveForProduction routine.


For Each wnd In Application.VBE.Windows
If wnd.WindowState = 2 Then wnd.WindowState = 0
If wnd.Type <= 1 Or wnd.Type = 10 Then wnd.Close
Next



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Otto Moehrbach wrote :

Excel 2002, WinXP
When I am building a UserForm the VBE displays a small square
toolbox. I am calling that toolbox the UserForm Toolbox for purposes
of this message. My scenario is not in the VBE.
I have a workbook sheet on the screen.
I have a user-built menu.
I click on one of the menu items.
Nothing in my code refers back to the VBE.
When the code starts executing, the UserForm Toolbox is displayed on
the screen as well as the progress UserForm I would expect. This
UserForm displays a moving bar as the code progresses.
The UserForm and toolbox appear only for a split second because, for
development purposes, I am using only a very small piece of data on
which the code acts.

My question is:
Why does the toolbar appear?
Thanks for your help. Otto


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default UserForm Toolbox displaying

Thanks for your help. I'll do that and see what happens. Otto
"keepITcool" wrote in message
...

i've seen this happen to me too :(

i think it's a bug.

open all forms in designmode and make sure the control toolbox is NOT
displayed. close the forms. save the xls or xla.

in one of my addins I've even had to include it in
my SaveForProduction routine.


For Each wnd In Application.VBE.Windows
If wnd.WindowState = 2 Then wnd.WindowState = 0
If wnd.Type <= 1 Or wnd.Type = 10 Then wnd.Close
Next



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Otto Moehrbach wrote :

Excel 2002, WinXP
When I am building a UserForm the VBE displays a small square
toolbox. I am calling that toolbox the UserForm Toolbox for purposes
of this message. My scenario is not in the VBE.
I have a workbook sheet on the screen.
I have a user-built menu.
I click on one of the menu items.
Nothing in my code refers back to the VBE.
When the code starts executing, the UserForm Toolbox is displayed on
the screen as well as the progress UserForm I would expect. This
UserForm displays a moving bar as the code progresses.
The UserForm and toolbox appear only for a split second because, for
development purposes, I am using only a very small piece of data on
which the code acts.

My question is:
Why does the toolbar appear?
Thanks for your help. Otto




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 201
Default UserForm Toolbox displaying

I tried what you said and it worked. Thanks again. Otto
"keepITcool" wrote in message
...

i've seen this happen to me too :(

i think it's a bug.

open all forms in designmode and make sure the control toolbox is NOT
displayed. close the forms. save the xls or xla.

in one of my addins I've even had to include it in
my SaveForProduction routine.


For Each wnd In Application.VBE.Windows
If wnd.WindowState = 2 Then wnd.WindowState = 0
If wnd.Type <= 1 Or wnd.Type = 10 Then wnd.Close
Next



--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Otto Moehrbach wrote :

Excel 2002, WinXP
When I am building a UserForm the VBE displays a small square
toolbox. I am calling that toolbox the UserForm Toolbox for purposes
of this message. My scenario is not in the VBE.
I have a workbook sheet on the screen.
I have a user-built menu.
I click on one of the menu items.
Nothing in my code refers back to the VBE.
When the code starts executing, the UserForm Toolbox is displayed on
the screen as well as the progress UserForm I would expect. This
UserForm displays a moving bar as the code progresses.
The UserForm and toolbox appear only for a split second because, for
development purposes, I am using only a very small piece of data on
which the code acts.

My question is:
Why does the toolbar appear?
Thanks for your help. Otto




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
Userform with textbox displaying Cell B1 Value JMay Excel Discussion (Misc queries) 2 October 4th 09 12:56 AM
control toolbox and userform toolbars in XL 03 Dave F[_2_] Excel Discussion (Misc queries) 2 August 8th 07 08:04 AM
Userform for displaying values from a row jgmiddel Excel Discussion (Misc queries) 0 April 25th 06 09:00 PM
displaying picture in a userform Todd Huttenstine[_3_] Excel Programming 1 January 28th 04 02:42 AM
Displaying progress on UserForm Nigel Stevens Excel Programming 1 July 9th 03 01:55 PM


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