RefEdit

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

We are having a problem with the reference editor. When we bring up our form sometimes a hidden refedit shows up and locks up Excel and all forms within Excel. Is there a way to work around the refedit or close them via VBA

Sincerely
Matt and a CWU CS481 grou
 
RefEdit is a funny control, handy if you get it right.

Non-modal or modal form?

--
Rob van Gelder - http://www.vangelder.co.nz/excel


Matt M. said:
We are having a problem with the reference editor. When we bring up our
form sometimes a hidden refedit shows up and locks up Excel and all forms
within Excel. Is there a way to work around the refedit or close them via
VBA?
 
Hopefully modal since a refedit does not work on a modeless/non-modal
userform - so stated in help for the refedit and cited many times in this
group - it causes a GPF I believe.
 
It does work somehow -but the modeless form never dies, you must Ctrl Alt Delete your way
out of Excel. Same thing as a gpf in the end I guess :-)

Another problem with refedit: Don't put it in a container (multitab, frame, ...) but
directly onto the userform.
 
Also try to avoid using RefEdit event procedures. Instead of
RefEdit_Change, you could trap the GotFocus event of the other controls.

- Jon
 
Well, it is on a Modal form, however, does having it on a tab change anything?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top