_Application.UserControl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the document or application was created or opened by the user.
public:
property bool UserControl { bool get(); };
public bool UserControl { get; }
member this.UserControl : bool
Public ReadOnly Property UserControl As Boolean
Property Value
Remarks
This property returns True if the document or application was created or opened by the user, and False if the document or application was created or opened programmatically.
If Microsoft Word is visible to the user, or if you call the UserControl property of an Application object from within a Word code module, this property will always return True.