Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在创建多个图形的工作表上暂停宏工作,研究它们,研究各种单元格,然后恢复宏?
我试过使用MsgBoxwhich 暂停宏,但不会让我在工作表上工作。我做了很多谷歌搜索,但无济于事。
MsgBox
这是一个典型的机制:
Sub TwoParts() ' do the first part MsgBox "Enter a value in A1 when done" While [A1] = "" DoEvents Wend MsgBox "Proceeding with second part actions" ' do other stuff End Sub
我们: