NamedRange::Speak Method (Object^, Object^)

 

Causes the cells of the NamedRange control to be spoken in row order or column order.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

void Speak(
	Object^ SpeakDirection,
	Object^ SpeakFormulas
)

Parameters

SpeakDirection
Type: System::Object^

The speak direction, by rows or columns.

SpeakFormulas
Type: System::Object^

true will cause formulas to be sent to the Text-To-Speech (TTS) engine for cells that have formulas. The value is sent if the cells do not have formulas; false (default) will cause values to always be sent to the TTS engine.

For information on optional parameters, see Optional Parameters in Office Solutions.

The following code sample demonstrates how to use the Speak method to speak the contents of a NamedRange control named NamedRange1 by columns.

This example is for a document-level customization.

No code example is currently available or this language may not be supported.
Return to top
Show: