Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() My usual practise is to display the form, retrieve the form data, then unload the form - the procedure then carries on with the retrieved data. In my case, the "x" box is locked out from the user, and closing, opening and pretty much all else is under vba control. The application I'm working on is very large, and has a large number of forms (approx 30). I'll review all these to make sure that there isn't a "slip up" somewhere. I did my tests on a new and empty project that only contains one userform. I also put one pushbutton on Sheet1 which loads the form as modeless. I then tried opening and closing the form a couple times, then I noticed that Run Time Error 75 kept occurrring.... So, now I'm positive that this error is not due to an error in my code at all, but rather an Excel or operating system specific error! Just be careful if you have a modeless form that can be loaded and unloaded constantly. I'm guessing that the form gets lost in memory somewhere once the unload happens....hence my solution to NEVER unload a form and resort to hide and unhide tactics. Please do keep me informed if you discover anything new regarding this matter. Thank you Dave! Robert C. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Userform problem with "Run Time Error 75" | Excel Programming | |||
Help with userform problem: error message "obj doesn't support thisproperty or method" | Excel Programming | |||
Userform problem with "obj doesn't support this property or method"error message. | Excel Programming | |||
how do I correct a "run time error 1004-unable to open" problem? | Excel Programming | |||
"Can't Show Modally" - Run-Time Error '400' Problem | Excel Programming |