Validation.ErrorTitle プロパティ (Excel)

データ検証エラー ダイアログ ボックスのタイトルを設定または返します。 読み取り/書き込みが可能な String です。

構文

ErrorTitle

Validation オブジェクトを表す変数。

次の使用例は、セル E5 の入力規則を設定します。

With Range("e5").Validation 
 .Add xlValidateWholeNumber, _ 
 xlValidAlertInformation, xlBetween, "5", "10" 
 .InputTitle = "Integers" 
 .ErrorTitle = "Integers" 
 .InputMessage = "Enter an integer from five to ten" 
 .ErrorMessage = "You must enter a number from five to ten" 
End With

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。