Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
VBComponents Collection
See Also Example Properties Methods Events Specifics
Represents the components contained in a project.
Remarks
Use the VBComponents collection to access, add, or remove components in a project. A component can be a form, module, or class. The VBComponents collection is a standard collection that can be used in a For Each block.
You can use the Parent property to return the project the VBComponents collection is in.
In Visual Basic for Applications, you can use Import method to add a component to a project from a file.
.gif)
.gif)
.gif)