Speech.Direction プロパティ (Excel)

セルが読み上げられる順序を設定します。 Direction プロパティの値は XlSpeakDirection 定数です。 値の取得と設定が可能です。

構文

方向

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

次の使用例は、読み上げの方向を調べて、通知します。

Sub CheckSpeechDirection() 
 
 ' Notify user of speech direction. 
 If Application.Speech.Direction = xlSpeakByColumns Then 
 MsgBox "The speech direction is set to speak by columns." 
 Else 
 MsgBox "The speech direction is set to speak by rows." 
 End If 
 
End Sub

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

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