Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
WebOptionButton Property

WebOptionButton Property.WebOptionButton Property

Office 2007
Returns the WebOptionButton object associated with the specified shape.

Syntax

expression.WebOptionButton

expression   A variable that represents a WebOptionButton Property object.

Return Value
WebOptionButton

Example

This example creates a new Web option button and specifies that its default state is selected.

Visual Basic for Applications
Dim shpNew As Shape
Dim wobTemp As WebOptionButton

Set shpNew = ActiveDocument.Pages(1).Shapes.AddWebControl _
    (Type:=pbWebControlOptionButton, Left:=100, _
    Top:=123, Width:=16, Height:=10)

Set wobTemp = shpNew.WebOptionButton

wobTemp.Selected = msoTrue

See Also


Community Additions

ADD
Show:
© 2015 Microsoft