Web Property Example

This example returns the title of a FrontPage-based web.

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

Set myWeb = ActiveWeb

myWebName = myWeb.RootFolder.Web.Title

End Sub