IsWeb Property

True if the specified Web folder is the root folder for a Web site, which may be the root folder for the active Web site or a subsite off of the active Web site. Read-only.

expression.IsWeb

*expression   * Required. An expression that returns a WebFolder object.

Example

This example retrieves the setting of the IsWeb property for a WebFolder object.

Private Sub CheckExecutable()
    Dim myFolder As WebFolder
    Dim myWebStatus As Boolean

    Set myFolder = ActiveWeb.RootFolder.Folders("images")
    myWebStatus = myFolder.IsWeb

End Sub

Applies to | WebFolder Object