property Control.CloseOn as CloseOnEnum
Indicates when the control is closed.

TypeDescription
CloseOnEnum A CloseOnEnum expression that specifies when the context menu is closed once the user clicks the inside ActiveX control.
By default, the CloseOn property is exUser. In other words, the context menu is not closed once the user clicks the ActiveX control.