DriveWorks Pro 16: Import Named Sheet From Excel Into An Existing Project Table [send feedback...]

Import Named Sheet From Excel Into An Existing Project Table

This Specification Macro Task will import a named Sheet from Excel into an existing Project Table.

Properties

Property NameDescription
TitleChanges the Title (not the name) of the task.
File NameThe file name of the spreadsheet.
Sheet Name(s)The name of the sheet to pull the data from. This can be the sheet name or the index of the sheet. Pipebar (|) delimit this string for multiple sheets.
ShowExcelThe workbook will be visible if set to TRUE.
Simple Table NameThe name of the DriveWorks Project Simple Table that the sheet will be written to (when importing multiple sheets, use a pipebar (|) delimited list of Table names).
Sheet Name Return ConstantThe name of the Constant that the imported sheet names will be written to.
Table Name return ConstantThe name of the Constant that the imported Table names will be written to.
Maximum RowsThe maximum number of rows to retrieve from each Table (use 0 for all rows).

Example

When this Task is added the properties are static. To be able to build rules on a static properties see How To: Change A Static Property To A Dynamic Property.

Property NameExample RuleExample ResultMeaning
File Name"C:\MyDocuments\ExcelFiles\ExcelData.xlsx"C:\MyDocuments\ExcelFiles\ExcelData.xlsxThis is the Full File Path of the Excel file to use.
Sheet Name(s)"DataToUse"DataToUseThis is the name of the Sheet in the Excel file to take the data from to insert into the specified Project Table.
Show ExcelTRUETRUEThis will show the opening of the Excel Application when the Task is run.
Simple Table Name"ProductData"ProductDataThis is the name of an existing Simple Table in that the data will be inserted into.
Sheet Name Return Constant"DWConstantSheetName"SheetNameThis is the name of the Constant that will report back with the Excel Sheet name that took the data from to insert into the Project Table.
Table Name Return Constant"DWConstantTable"DWConstantTableThis is the name of the Constant that will report back with the Table that the Data was inserted into.
Maximum Rows00This will use all the Rows in the Excel document.

Table of Contents