Userform hide help

S

Scott

Hello,

At a certain point in my code, I show a userform that has two command
buttons. After the user pushes a button, I would like to keep the
userform on the screen. The only way I have found to return execution
back to the VBA code is to hide the userform.

Is there a way to return execution back to the VBA without closing the
userform window?

Thanks.
 
P

Peter T

Only if you show the form as modeless.

If you don't want to do that, and there may be good reasons why you only
want to show the form as model, explain why you need code to revert to the
routine that show'd the form.

Regards,
Peter T
 

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