OpenNavigator in script

Tried the following code to open a navigator within the current database but I get a “Object variable not set” error. The spelling of the navigator is correct. Any idea why this doesn’t work?

Dim workspace As NotesUIWorkspace

Dim uidb As NotesUIDatabase

Set uidb = workspace.CurrentDatabase

Call uidb.OpenNavigator(“Navigator Name”)

The help file does not give an example of the opennavigator command.

Sorry for the double post (accident)

Thanks in advance

Subject: OpenNavigator in script

Use the following for declaring workspace.

Dim workspace as new NotesUIWorkspace

Subject: RE: OpenNavigator in script

Thanks a million! That was my problem.