#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default userform

Hello,
Could you explain why a userform.show instruction displays an empty dialog
box? I wanted to create a very simple userform to warn users they have to
wait, and this userform only contains a label "patience! macro running...".
Userform is opened modeless and it seems related.

Thanks for your help
--
Serge
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default userform

Have you looked at simply putting in a messagebox? Something like:
alerts = MsgBox("Please be patient while critical functions are being
preformed.", vbCritical, "Please Wait")

or some variation of that...

As to why your userform is empty - the only reason i can think of for
that one is you didn't set your userform up correctly. There isn't
really enough information there for me to know, though.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default userform

Presuming that the userform is displayed in the same macro, it will take
over processing, and the macro waits until it shuts down.

Try having another macro that shows the form, then the primary macro is
called from the forms Activate event, not Initialize, and then shut the form
down after the primary macro finishes.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"serge T" wrote in message
...
Hello,
Could you explain why a userform.show instruction displays an empty dialog
box? I wanted to create a very simple userform to warn users they have to
wait, and this userform only contains a label "patience! macro
running...".
Userform is opened modeless and it seems related.

Thanks for your help
--
Serge



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default userform

Thanks for your reply- I tried many things: removing this simple userform and
start again, add a button; except the blue label of the userform all appear
uniform white, except when the instruction is not modeless. I also create a
new module with a simple macro just to open that userform, then it displays
properly; could it be some interaction with application.statusbar
instructions?I keep on thinking to that exciting problem this evening, maybe
the light will finally get up...
--
Serge


" wrote:

Have you looked at simply putting in a messagebox? Something like:
alerts = MsgBox("Please be patient while critical functions are being
preformed.", vbCritical, "Please Wait")

or some variation of that...

As to why your userform is empty - the only reason i can think of for
that one is you didn't set your userform up correctly. There isn't
really enough information there for me to know, though.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default userform

To itsdedude,

I will forget that userform for that urgent application. But still I stay
puzzled that this simplest userform (I made complex ones elsewhere and this
one has only one label field) does not displays. The same userform is
displaying properly in a separate module to test it, but not in the real
application module; crazy!
anybody got an idea?
thanks
--
Serge


"serge T" wrote:

Thanks for your reply- I tried many things: removing this simple userform and
start again, add a button; except the blue label of the userform all appear
uniform white, except when the instruction is not modeless. I also create a
new module with a simple macro just to open that userform, then it displays
properly; could it be some interaction with application.statusbar
instructions?I keep on thinking to that exciting problem this evening, maybe
the light will finally get up...
--
Serge


" wrote:

Have you looked at simply putting in a messagebox? Something like:
alerts = MsgBox("Please be patient while critical functions are being
preformed.", vbCritical, "Please Wait")

or some variation of that...

As to why your userform is empty - the only reason i can think of for
that one is you didn't set your userform up correctly. There isn't
really enough information there for me to know, though.



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
Is there an easy Copy/Paste of a Userform ? (Entire Userform Including tx & cbx's) Corey Excel Programming 2 January 9th 07 01:01 PM
Userform to enter values and shown in same userform in list helmekki[_104_] Excel Programming 0 November 19th 05 03:23 PM
Looping procedure calls userform; how to exit loop (via userform button)? KR Excel Programming 6 July 27th 05 12:57 PM
Activating userform and filling it with data form row where userform is activate Marthijn Beusekom via OfficeKB.com[_2_] Excel Programming 3 May 6th 05 05:44 PM
Access from add_in userform to main template userform.... Ajit Excel Programming 1 November 18th 04 05:15 PM


All times are GMT +1. The time now is 01:14 AM.

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"