Control and Controls Members
Use the Controls
collection to add new controls dynamically at runtime and to perform general operations on all of the controls on a form. Use the UserForm
object’s Controls
property to get a reference to this collection. Use the Control
object to set the name, position, and other general properties of a control. Specific control types may have other properties that are available; the Control
object contains the general members
available for most controls. The Controls
collection and Control
object have the following members. Key members (shown in bold) are covered in the following reference section:
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.