vba 如何中止宏

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3018286/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 10:32:40  来源:igfitidea点击:

How to abort a macro

excelvba

提问by l--''''''---------''''''''''''

I have a macro that goes through a directory and looks at all its files. Unfortunately the directory is on a mapped network drive so the process is really slow.

我有一个通过目录并查看其所有文件的宏。不幸的是,该目录位于映射的网络驱动器上,因此该过程非常缓慢。

How can I kill the macro?

我怎样才能杀死宏?

回答by marg

You can stop a macro by pressing the keys: ctrl+ alt+ break

您可以按以下键停止宏:ctrl+ alt+break