Activate Method Example
This statement activates the home page for the Adventure Works Web site.
If myWeb.Url = "C:\My Webs\Adventure Works" Then myWeb.Activate