Error 401 - modal form

clozed75

New Member
Joined
Dec 13, 2009
Messages
45
Hi,
I've done a userform with a "please wait" message while code is processing.

I would like this userform to lay over other two userforms previously loaded.

I think it is a matter of vbmodeless..but it is returning me a 401 error ..can't show a non-modal when a modal is displayed..

if I have understood something I should unload all the forms and let the "please wait" form alone.

is it correct?
is there any other way i can get out of it ?

thnx in advance


Cloe
 

Some videos you may like

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

clozed75

New Member
Joined
Dec 13, 2009
Messages
45
by hiding all the modal forms the code runs without errors but the non modal is not correctly loaded and remains white (only the edge of the form appear).. can this be a problem of graphic memory or similar?

Cloe
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650

ADVERTISEMENT

Try

UserForm3.Repaint

after loading the modeless form - change UserForm3 to the name of the form.
 

clozed75

New Member
Joined
Dec 13, 2009
Messages
45
.repaint..does a little better..
some colors appear in the background but the core is still poor colored..

any else??
 
Last edited:

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
23,769
A majorish redesign using MultiPages might be the best way to go.
Barring that, DoEvents after the .Repaint might be worth a try.
 

Subscribe on YouTube

Watch MrExcel Video

Forum statistics

Threads
1,106,133
Messages
5,509,353
Members
408,729
Latest member
Rajesh M

This Week's Hot Topics

  • Turn fraction around
    Hello I need to turn a fraction around, for example I have 1/3 but I need to present as 3/1
  • TIme Clock record reformatting to ???
    Hello All, I'd like some help formatting this (Tbl-A)(Loaded via Power Query) [ATTACH type="full" width="511px" alt="PQdata.png"]22252[/ATTACH]...
  • TextBox Match
    hi, I am having a few issues with my code below, what I need it to do is when they enter a value in textbox8 (QTY) either 1,2 or 3 the 3 textboxes...
  • Using Large function based on Multiple Criteria
    Hello, I can't seem to get a Large formula to work based on two criteria's. I can easily get a oldest value based one value, but I'm struggling...
  • Can you check my code please
    Hi, Im going round in circles with a Compil Error End With Without With Here is the code [CODE=rich] Private Sub...
  • Combining 2 pivot tables into 1 chart
    Hello everyone, My question sounds simple but I do not know the answer. I have 2 pivot tables and 2 charts that go with this. However I want to...
Top