편집

다음을 통해 공유


AddCustom method

Returns a VBComponent object, or creates a new custom component and adds it to the project.

Syntax

object.AddCustom (ByValprogidAs String) As VBComponent

The AddCustom method syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
progid Required. The ProgID of the custom component to be created.

See also

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.