2.2.3.49 wjoinbylabel

Brief Information

Join multiple worksheets by matching label row

Additional Information

Minimum Origin Version Required: 2015 SR0

Command Line Usage

wjoinbylabel irng:=[Book1](Sheet1,Sheet2) label:=L unmatch:=1 multiple:=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
Input Worksheets irng

Input

Range

<unassigned>

This is used to specify the input worksheet range.

The syntax is: ([BookName]SheetName!, [BookName2]SheetName2!)

Matching Label Row label

Input

string

<unassigned>
Specify the Label Row by using its Label Row character.

Columns will be joined together according to their Label Row: including Long Name, Units, Comments etc.
Please refer to Column Label Row Characters for the single character of each column label row.

Drop Non-matches unmatch

Input

int

0
It specifies whether to drop columns (1=drop) with non-matches Label Row when multiple worksheets are joined into a single sheet.
Drop Multiples multiple

Input

int

0
Whether to keep only one column (1=keep only one) with matched Label Row (drop others) when more than one columns in one or more source worksheets have identical matched Label Row.
Match with All Combinations combine

Input

int

0
It specifies whether to show (1=show) all combinations for columns with matched Label Rows when source worksheets join into single sheet.
Output Worksheet ow

Output

Worksheet

<new>
Specify the output range, see syntax here.

Description

This X-Function is used to join multiple worksheets into a single worksheet by matching label row, according to the method specified.

You can got the Origin Help page about this tool to learn the details of the functionality of this tool.

Related X-Functions

wAppend, wjoinbycol


Keywords:merge, combine