The Excel Source Component is an SSIS Data Flow Component for consuming data from Excel worksheets.
Use the General page of the Excel Source dialog to specify the source Excel worksheet and region.
- Click the Reset button to re-initialize the component metadata.
Select the COZYROC Excel connection manager. Note: This will not work if you select the standard Excel connection manager.
Related Topics: Excel Connection Manager
Select Excel worksheet as the source.
Indicate that the first row contains column names.
Specify a named range within the source Excel file.
Specify which columns from the source are to be used as the input region.
- Start - start column. The column numbering is 1-based.
- Width - number of columns.
Specify which rows from the source are to be used as the input region.
- Start - start row. The row numbering is 1-based.
- Height - number of rows. If set to -1, the component will read all used rows from the worksheet.
Specify the output type. This parameter has the options listed in the following table.
Value Description Formatted Value Output formatted cell value. Raw Value Output raw cell value. Formula Output cell formula.
Use the Columns tab to specify which columns are to be processed from the source Excel file and to specify new names for the columns being processed, if desired.
This table lists the columns, by name, that are available to be processed from the source Excel file. If there are columns that you do not want to process, uncheck them from the list.You cannot use this table to add or delete columns in the source Excel file. To manipulate data in an external Excel file, use the COZYROC Excel Task.
Shows the columns that will be processed from the source Excel file based on the columns selected in the Available Input Columns list.
This shows the column name that will be used during processing. The name of any column may be changed by typing over the text in this list. Each name must be unique.
Use the Error Output page to select error handling options for the columns.
View the name of the data source.
View the selected source column.
Specify what should happen when an error occurs: ignore the failure, redirect the row, or fail the component.
Related Topics: Handling Errors in Data
Specify what should happen when a truncation occurs: ignore the failure, redirect the row, or fail the component.
View a description of the error.
The source worksheet and region are available in the data flow properties list. Follow these steps to set up an expression:
- Right-click on the data flow canvas and select the Properties menu.
- New: Component can now read from named ranges pointing to tables.
- Fixed: Component failed with error when input cell value was larger than the output column length and the column truncation metadata was set to ignore (Thank you, Dave). For further information check this post.
- Fixed: Component failed with error "The type initializer for '#c.#rnf' threw an exception." when reading certain files (Thank you, Scott).
- Fixed: Component failed to process sheet with name containing white space at start or end (Thank you, John).
- Fixed: Component is now multithread-safe.
- New: Component now supports named ranges.
- Fixed: Component did not activate selected worksheet at runtime.
Ready to give it a try?
COZYROC SSIS+ Component Suite is free for testing in your development environment.