ActionEventArgs.Range Property

Gets the range containing the text that has been recognized as a smart tag.

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

Syntax

'Declaration
ReadOnly Property Range As Range
    Get
Range Range { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Range
The range containing the text that has been recognized as a smart tag.

Examples

The following code example demonstrates a handler for the Click event. The event handler uses the Range property to display the address of the cell that contains the recognized smart tag term. This code example is part of a larger example provided for the Action interface.

This example is for a document-level customization.

.NET Framework Security

See Also

Reference

ActionEventArgs Interface

Microsoft.Office.Tools.Excel Namespace