webPartZones Property

Returns an IHTMLElementCollection collection that represents the Web Part zones in a document.

expression.webPartZones

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Example

The following example accesses the first Web Part zone in the active document.

Dim objZone As IHTMLWebPartZoneElement

Set objZone = ActiveDocument.webPartZones.Item(0)

Applies to | FPHTMLDocument Object | IFPDocument Object