Data Connectors are a relatively new general import mechanism. From Origin 2021b, the Import Excel toolbar button has been re-coded to use the Excel Connector, in place of the older impMSExcel routine.
To open Excel Connector,

To import more sheets after import,
About Drag-n-Drop import...
Beginning with Origin 2021b, clicking the Import Excel button |
To import an Excel file:
Additional Excel dialog box controls

To re-import one or multiple Excel sheets:
From Origin 2015, you are allowed to re-import multiple sheets from Excel to Origin. During Excel re-importing, a link is maintained so that Origin is able to use up-to-date data.
To re-import Excel files, go to Data: Re-Import Directly or use Ctrl+4 keys to re-import Excel sheets with same settings as before. Or you can go to File: Re-Import... to bring up dialog box to change import settings for files to be re-imported.
You can also type command reimport -d in command window to re-import Excel files.
One advantage of the Excel Connector (and Data Connectors, in general) is that it can be automatically configured to update your project upon data changes in the connected Excel file. See Working with Microsoft Excel for information. |
The impMSExcel dialog box allows more controls over the way in which .XLS or .XLSX or .XLSM files are imported:
| File Name |
The File Name box lists all the files that have been chosen in the Excel dialog. Note that you can click the Browse button to the right to re-select your files. |
|---|---|
| File Info |
Node gives file size and sheet structure of selected excel file(s):
|
| 1st File Import Mode |
Import mode for the first file to be imported. Choose from:
|
| Multi-File (except 1st) Import Mode |
Import Mode for files after the first file. Choose from:
|
| Template Name |
For data import, a workbook template (*.otw) or an analysis template (*.ogw) can be used. Select a template from the list, or click the browse button.
Note: when importing a multi-sheets Excel book into the specified workbook template which contains empty worksheet(s), you can refer to system variable @ISE for additional control over importing behavior. |
| Column Designations |
Apply Origin column plot designations to imported Excel workbook data. Make a selection from the drop-down list, or type the designation directly. This option supports the column designation syntax (such as repeat designations) same as Import Wizard. You can refer to this page for more details. Note: the specified column designation will be applied to all sheets automatically. |
| Add Sparklines |
Add sparklines for the data:
|
| Import Cell Formats |
Specify whether to import cell formats (text color, font, cell height, .etc) in the Excel file. |
| Maximum Number of Empty Columns (-1 for all) |
Specify the maximum number of empty columns that will be imported into Origin. |
| Exclude Empty Sheets |
Specify whether input the empty sheets into target window. If it is chekced, empty sheets will not appear in the File Sheet(s) branch under the File Info branch. |
| Apply Header to All Sheets |
Specify whether apply the header settings in the Header Lines branch to all Excel sheets. |
| (Re)Naming Worksheet and Workbook |
Specify how to rename the worksheet and workbook.
|
| Header Lines |
Use these branch to specify which rows, if any, should be supply Origin worksheet column Long Name, Unit and Comment. The Number of Main Header Lines and Number of Subheader Lines can be specified too.
|
| Partial Import | Select columns and/or rows to import by specifying a regularly repeating pattern; or use Custom and the notation listed in Partial Import and Re-import to select columns for import. Note that for columns or rows, specifying To = 0 means "read to the end."
For Custom, see Partial Import and Re-import for the notation used to specify data range selection. |
| Scripts |
Third branch Script is used to specify the LabTalk scripts to be run after file(s) being imported.
|