RemoveObject Method

See Also

Removes a specified object from a container object at run time.

Syntax

Object.RemoveObject(cObjectName)

Arguments

cObjectName

Specifies the name of an object to remove. If the object does not exist, an error occurs.

Remarks

When an object is removed, it disappears from the screen and can no longer be referenced.