Macro stopping and starting.

P

Paul

Hi,

I've got two different userforms, both with input fields.

When I've finished working on one I press a commandbutton that runs a macro
containing validations and the processing of the data into the sheets. After
the validation and before inserting data into the sheets, I would like to
call another userform and let the macro wait until I'm finished with the
inputs on the other userform, before continuing with the remaining code.

Is this possible?

Cheers,

Paul
 
J

Jim Thomlinson

You can not really pause macro execution while you do other things. What you
can do is to split the macro in two. Execute the first macro ending by
opening the user form. When you close that form you can kick off the second
macro.
 

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