Application.CalculationInterruptKey プロパティ (Excel)
計算の実行時に Microsoft Excel を中断する可能性があるキーを指定する XlCalculationInterruptKey 定数を設定または返します。 値の取得と設定が可能です。
構文
式。CalculationInterruptKey
expressionApplication オブジェクトを 表す変数。
例
次の使用例は、計算中断キーの設定を調べて、通知します。
Sub CheckInterruptKey()
' Determine the calculation interrupt key and notify the user.
Select Case Application.CalculationInterruptKey
Case xlAnyKey
MsgBox "The calculation interrupt key is set to any key."
Case xlEscKey
MsgBox "The calculation interrupt key is set to 'Escape'"
Case xlNoKey
MsgBox "The calculation interrupt key is set to no key."
End Select
End Sub
サポートとフィードバック
Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示