ToggleFormsDesign Method Example

This example switches to form design mode if the Control Toolbox toolbar isn't currently displayed.

If CommandBars("Control Toolbox").Visible = False Then
    ActiveDocument.ToggleFormsDesign
End If