Navigate

Opens an explorer document into a named target. If the target does not already exist, a new window will be created.

The format for the method call is as follows:

Public Sub Navigate( _

ByVal FileName As String, _

ByVal TargetName As String, _

Optional ByRef Document As Object,

Optional ByVal InitialVars As Variant,

Optional ByVal Caption As String,

Optional ByVal WindowStyle As StyleConstants = 33, _

Optional ByVal WindowState As WindowStateConstants=3, _

Optional ByVal Left As Long = -1, _

Optional ByVal Top As Long = -1, _

Optional ByVal Width As Long = -1, _

Optional ByVal Height As Long = -1)

This method works in the same way as the NavigateEx method of the document, except for the addition of the Document property, which returns a pointer to the document. See Documents method.

For more information about navigation, click image\CHICLET.gif