PartsList.Export Method

Parent Object: PartsList

Description

Method that saves the parts list to an external file.

Syntax

PartsList.Export( FileName As String, FileFormat As PartsListFileFormatEnum, [Options] As Variant )

Parameters

Name Type Description
FileName String Input string that specifies the file name to export the parts list to.

FileFormat PartsListFileFormatEnum Input that specifies the file format to save to.

Options Variant Optional input NameValueMap object that specifies additional options for export. See Remarks for valid inputs.

This is an optional argument whose default value is null.

Remarks

Valid inputs for Options parameter:                                                   
Name Value Type Valid for export formats
TableNameStringkMicrosoftExcel
ExportedColumnsString containing semicolon separated column titlesAll
IncludeTitle BooleankMicrosoftExcel, kTextFileCommaDelimited, kTextFileTabDelimited, kUnicodeTextFileCommaDelimited, kUnicodeTextFileTabDelimited
StartingCell String kMicrosoftExcel
Template String kMicrosoftExcel
AutoFitColumnWidth Boolean kMicrosoftExcel

Version

Introduced in version 9