Object Property

Applies To

Property object.

Description

Returns or sets the value of an object returned by a property. Read/write.

Remarks

If a property returns an object, you must use the Object property to return or set the value of that object.

See Also

IndexedValue property, NumIndices property, Value property.

Example

The following example loads the name of an icon into the icon list for the specified object, which must be a form.

Set Application.VBE.ActiveVBProject.VBComponents(1).Properties("Icon"). _
    Object = LoadPicture("Baseball.ico")