RadioGroupSelection Property

Microsoft Word Visual Basic

RadioGroupSelection Property

Sets or returns a Long that represents the index number of the selected item in a group of radio button controls in a smart document.

expression.RadioGroupSelection

expression    Required. An expression that returns a SmartTagAction object.

Remarks

For more information on smart documents, please see the Smart Document Software Development Kit on the Microsoft Developer Network (MSDN) Web site.

Example

The following example selects the third item in the specified group of radio button controls. This example assumes that the first action for the first smart tag in the active document is a radio button control.

    ActiveDocument.SmartTags(1).SmartTagActions(1) _
    .RadioGroupSelection = 3