Set Statement[Runtime]/text/sbasic/shared/03103700.xhpSun Microsystems, Inc.converted from old format - fpeSet statementNothing objectSet Statement[Runtime]Sets an object reference on a variable or a Property.Syntax:Set ObjectVar = ObjectParameters:ObjectVar: a variable or a property that requires an object reference.Object: Object that the variable or the property refers to.Nothing - Assign the Nothing object to a variable to remove a previous assignment.Example:Sub ExampleSetDim oDoc As Object Set oDoc = ActiveWindow Print oDoc.NameEnd Sub