Activate Method
Activates the specified PageWindowEx , WebEx , or WebWindowEx object. When you have multiple objects open, you can use the Activate method to work with a specific PageWindowEx, WebEx, or WebWindowEx object.
expression.Activate
expression An expression that returns a PageWindowEx, WebEx, or WebWindowEx object.
Remarks
The Activate method has no effect on a windowless PageWindowEx object.
Example
This statement activates the home page for the Adventure Works Web site.
If myWeb.Url = "C:\My Web Sites\Adventure Works" Then myWeb.Activate