Edytuj

Udostępnij za pośrednictwem


_Application.UserControl Property

Definition

True if the application is visible or if it was created or started by the user. False if you created or started the application programmatically by using the CreateObject or GetObject functions and the application is hidden.

public:
 property bool UserControl { bool get(); void set(bool value); };
public bool UserControl { get; set; }
Public Property UserControl As Boolean

Property Value

Remarks

When the UserControl property is False for an object, that object is released when the last programmatic reference to the object is released. If this property is False, Microsoft Excel quits when the last object in the session is released.

Applies to