Reference a Custom Property that Has the Same Name as a Built-in Property of the Control

Assume a new control has a Top property that is different from the standard Top property in Microsoft Forms. Use either property, based on the syntax:

This example uses the standard Top property:

  control.Top

This example uses the Top property from the added control:

  control.Object.Top

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.