| Part | Description | |
| object | Required. An object expression that evaluates to an object in the Applies To list. | |
| filename | Required. A String specifying the name of the file that you want to export the component to. | |
Application.VBE.ActiveVBProject.VBComponents(1).Export("test.bas")