ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Command Button (https://www.excelbanter.com/excel-programming/381421-command-button.html)

Saxman

Command Button
 
I would like to create a dual task command button that would stop some
code running and clear data on another worksheet. Or would it be best
to keep these operations separate?

Clearing the data could be done with a macro assigned to the command
button, but I'm not sure how I would go about stopping the code running.

Any help appreciated thanks.

Jim Rech

Command Button
 
dual task command button that would stop some code running

Since you cannot run two macros at once it is not possible to have one macro
stop another.

--
Jim
"Saxman" wrote in message
...
|I would like to create a dual task command button that would stop some
| code running and clear data on another worksheet. Or would it be best
| to keep these operations separate?
|
| Clearing the data could be done with a macro assigned to the command
| button, but I'm not sure how I would go about stopping the code running.
|
| Any help appreciated thanks.




All times are GMT +1. The time now is 01:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com