Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

您可以使用 Access 桌面資料庫中的 StopAllMacros 宏指令來停止目前執行的所有宏。

設定

StopAllMacros 宏指令沒有任何自變數。

註解

當錯誤條件使得您需要停止所有宏時,您通常會使用此動作。 您可以在包含此動作的宏 巨集指令列 中使用 條件運算式 。 當表達式評估為 True ( –1) 時, Access 停止所有宏。

例如,您可能有一個宏將消息框顯示為數個複雜動作的其中之一,包括執行其他宏。 如果使用者按兩下此消息框中的 [取消 ], StopAllMacros 宏指令可以停止所有正在執行的宏。

如果宏已使用 EchoSetWarnings 宏指令來關閉 回應 或關閉系統訊息的顯示, StopAllMacros 宏指令會自動將它們重新開啟。

此動作不適用於 Visual Basic for Applications (VBA) 模組。

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×