2.2.3.8 colmirror
Contents
Menu Information
Worksheet: Create Mirror Columns from Sili
Brief Information
Collect columns from similar sheets to create mirrors
Command Line Usage
1. colmirror irng:=[Book1]Sheet1!Col(1) orng:=[Book1]Sheet1!Col(2);
2. colmirror irng:=col(A) orng:=col(B) scope:=2 match:=1 unit:=1;
3. colmirror irng:=[Book1]Sheet1!Col(2) orng:=[Book2]Sheet1!Col(2) xcol:=1 bkrow:=1
X-Function Execution Options
Please refer to the page for additional option switches when accessing the x-function from script
Variables
| Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
|---|---|---|---|---|
| Source Column | irng |
Input Range |
Specify one source column. All columns in the search scope that match this Source Column will be collected, mirrored, and output to the Destination Column. | |
| Destination Columns | orng |
Output Range |
Specify the target column beginning from which the mirror columns will be output. | |
| Add X Column | xcol |
Input int |
If the Source Colulmn is a Y column, use this option to control whether to copy its corresponding X column. Allowed values:
| |
| From Similar Sheets | sheets |
Input int |
Check this checkbox to search for worksheets with the same number of columns as the source sheet and only columns meeting the condition below (Must Match Column Label, Must Match Units and Match Column Designations) will be collected and used as mirror sources.
Allowed values: 0=false, 1=true | |
| Find Similar Sheets In | scope |
Input int |
Choose the search scope for applicable worksheets. Allowed values:
| |
| Must Match Column Label | match |
Input int |
Check this checkbox to require the matched columns to share the same label row as the Source Column. Allowed values:
| |
| Must Match Units | unit |
Input int |
Chech this checkbox to require matched columns to have the same Units as the Source Column.
Allowed values: 0=false, 1=true | |
| Match Column Designations | desig |
Input int |
Check this checkbox to require the matched columns to have the same Plot Designations as the Source Column.
Allowed values: 0=false, 1=true | |
| Use Source Column Labels | label |
Input int |
Check this checkbox to copy Source Column label rows to the mirror columns.
Allowed values: 0=false, 1=true | |
| Add Label Row for Sheet Names | shrow |
Input int |
Add a "Sheet Name" label row to show the source worksheet.
Allowed values: 0=false, 1=true | |
| Add Label Row for Book Names | bkrow |
Input int |
Add a "Book Name" label row to show the source workbook.
Allowed values: 0=false, 1=true |
Description
Origin 2026b introduces Mirror Column, which references a source column. This X-Function "colmirror" is used to batch-create mirror columns from multiple sheets that match certain conditions, such as column label rows and plot designation, and collect them into one worksheet.