Syntax

expression.Direction

expression A variable that represents a Speech object.

Remarks

XlSpeakDirection can be one of these XlSpeakDirection constants.
xlSpeakByColumns
xlSpeakByRows

Example

In this example, Microsoft Excel determines the speech direction and notifies the user.

Visual Basic for Applications
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
direction direction property

See also: