Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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. -- HTH... Jim Thomlinson "Paul" wrote: 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 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Jim,
Thanks for your reply, I already thought of that as a back-up. Thanks Paul "Jim Thomlinson" wrote: 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. -- HTH... Jim Thomlinson "Paul" wrote: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Starting and Stopping excel from command line. | Excel Discussion (Misc queries) | |||
Stopping a Macro | Excel Programming | |||
Starting and stopping Ontime | Excel Programming | |||
Starting/Stopping Worksheet Event Code | Excel Discussion (Misc queries) | |||
stopping macro | Excel Programming |