You are here: FME Readers and Writers > Microsoft Excel (XLSXR/XLSXW2) Reader/Writer > Reader > Microsoft Excel Reader Parameters

Microsoft Excel Reader Parameters

Each dataset must be defined before it can be read. The definition contains the worksheet/named range name, followed by the names and types of the attributes.

The schema is determined either through workspace parameters (for example, feature type properties), or by scanning x features of the feature type, where x is defined by the Max Features to Read parameter in the Workbench Navigator (scan_max_features). The schema is useful for defining the schema which may be used by writers when generating a workspace, but it is ignored on read.

Therefore, features beyond the Max Features to Read might return values that do NOT comply with the schema. (If this is an issue, you can re-add a reader with a larger value for Max Features to Read or manually edit the attribute types in the Attributes section of the parameters dialog).

Sheets to Read

This area shows all of the sheets and named ranges in the Excel file. A named range is of the form sheetName/NamedRangeName.

In this example, the selected area is a named range: the name of the named range is Second_Table, and it is on the sheet NoSheetInfo.

The column Field Names Row allows you to select which row contains the header names, and the column Cell Range allows you to restrict the information to read. If a cell on the Field Names Row is blank due to being a merged cell, it will automatically be given the merged cell value.

Preview

This area shows a preview of the data (100 rows) of the selected feature type (either feature or named range). As shown in the example here, if you choose a header row, that row will be shown in boldface text.

Attributes

This area displays the attributes that were created for the feature type (schema scanned).

Name Type Width Precision
The attribute name that will be placed on resulting features.

The attribute type is listed in this column. You can change the attribute type by clicking on the field and selecting from the drop-down list.

This only affects the resulting features if the selected attribute type is a coordinate type or a date type.

Note: This value is ignored for attributes produced from this reader.

Note: This value is ignored for attributes produced from this reader.

Filter

Filter a list of attributes by typing a key sequence into this field.

Read Formulas (.formula)

If this parameter is enabled, an <attrName>.formula attribute will be added to the workspace for columns that contain a formula.

Advanced

Additional Parameters (Workbench Navigator)

Some parameters (including most Advanced parameters) are accessible only from the Workbench Navigator after you add a reader or writer to a workspace. The general hierarchy is shown below; however, the list order may change depending on the format. These parameters are not visible in the parameters dialog.