Web Property

Microsoft FrontPage Visual Basic

Returns a WebEx object that represents a Microsoft FrontPage Web site.

expression.Web

expression    Required. An expression that returns one of the above objects.

Example

The following example returns the title of the active Web site.

Private Sub GetWebTitle()
    Dim myWeb As WebEx
    Dim myWebName As String

    Set myWeb = ActiveWeb

    myWebName = myWeb.RootFolder.Web.Title

End Sub