Container Property

       

Returns the containing control or form.

Syntax

object.Container

The object placeholder represents an object expression that evaluates to an object in the Applies To list.