hasSharedBorders Property

Microsoft FrontPage Visual Basic

Show All Show All

hasSharedBorders Property

Returns a Boolean that represents whether a specified document contains shared borders.

expression.hasSharedBorders

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

Remarks

A shared border is a region on a Web page that is common to one or more pages in a Web site. A shared border may be a region at the top or bottom of the page (similar to a page header or footer), at the left, or at the right. Use shared borders to place the same content on multiple pages in one step, rather than editing each page.

Example

The following message displays a message to the user about whether the active document uses shared borders.

    If ActiveDocument.hasSharedBorders = False Then
    MsgBox "This document doesn't use shared borders."
Else
    MsgBox "This document uses shared borders."
End If