VBComponent Object

Description

Represents a component, such as a class module or standard module, contained in a project.

Remarks

Use the VBComponent object to access the code module associated with a component or to change a component's property settings.

You can use the Type property to find out what type of component the VBComponent object refers to. Use the Collection property to find out what collection the component is in.

Properties

CodeModule property, Collection property, Designer property, DesignerWindow property, HasOpenDesigner property, Name property, Saved property, Type property, VBE property.

Methods

Export method.

See Also

CodeModule object, VBComponents collection, VBProject object.