How to stop VBA macro automatically?

前端 未结 3 1043
-上瘾入骨i
-上瘾入骨i 2021-01-05 16:03

I know you can manually stop a running VBA macro with Ctrl+Break, but is there any way to have the code stop automatically if a certain condition is me

3条回答
  •  一个人的身影
    2021-01-05 16:07

    You can create Macro to perform below steps/operation and call whenever your code meets certain condition to abort the other running macros:

    Step 1-- Menu bar -> Run -> Reset

    Step 2-- Menu bar -> Run -> Break

提交回复
热议问题