WebCheckBox Property
From Microsoft Publisher Visual Basic
object associated with the specified shape.
expression.WebCheckBox
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example creates a new Web check box and specifies that its default state is checked.
Dim shpNew As Shape
Dim wcbTemp As WebCheckBox
Set shpNew = ActiveDocument.Pages(1).Shapes _
.AddWebControl(Type:=pbWebControlCheckBox, Left:=100, _
Top:=123, Width:=17, Height:=12)
Set wcbTemp = shpNew.WebCheckBox
wcbTemp.Selected = msoTrue