BOMView.Export Method

Parent Object: BOMView

Description

Method that saves the BOM as viewed in this BOM view to an external file.

Syntax

BOMView.Export( FileName As String, FileFormat As FileFormatEnum, [Options] As Variant )

Parameters

Name Type Description
FileName String Input string that specifies the file name to export the BOM to.
FileFormat FileFormatEnum Input FileFormatEnum that specifies the file format to save to.
Options Variant Optional input String that specifies the 'Table Name' for kMicrosoftAccess and kMicrosoftExcel file formats. This is the name of the Excel/Access sheet. If not provided, the name of the file is used as the sheet name. For other formats, this argument is ignored.

This is an optional argument whose default value is null.

Samples

Name Description
Exporting the assembly BOM This sample demonstrates exporting the Assembly BOM to an external file.

Version

Introduced in version 2009