Examples: GetObject method

This script gets a handle to an object on the current document called Quarterly Reports.

Dim workspace as New NotesUIWorkspace
Dim uidoc as NotesUIDocument
Dim handle as Variant
Set uidoc = workspace.CurrentDocument
Set handle = uidoc.GetObject( "Quarterly Reports" )