Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns the WebCheckBox object associated with the specified shape.
Syntax
expression.WebCheckBox
expression A variable that represents a Shape object.
Return value
WebCheckBox
Example
This example creates a new web check box and specifies that its default state is selected.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.