RefEdit irregular behavior - corrective measures wanted

O

Oliver Kharraz

Hello,

I am using a refedit control in a modal user form, and am trying to copy its
contents upon exit, using the exit function. This causes Excel to crash. I
played around with the code and learned that the procedure gets called and
executed, but crashes afterwards. Any idea/experience?

Thanks so much,

Oliver
 
J

Jon Peltier

Oliver -

Some of the RefEdit events are unpredictable (or as you've discovered,
predictable in a bad way). To get the contents of the RefEdit, or to
validate the range, you should rely on another event, perhaps on the
user clicking the OK button, or something similar.

- Jon
 

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

Top