Merge multiple workbooks
1. merge_book;
2. merge_book fld:=project keep:=0 single:=0;
3. merge_book match:=wkblong key:="book*" rename:=sname;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Merge | fld |
Input int |
|
The level in which the books will be merged.
|
Keep Source Workbooks | keep |
Input int |
|
Whether to keep the source Workbooks. |
Only Merge Default Workbook | single |
Input int |
|
Whether only merge the default first workbook, that is to say, if 1, only the books with single worksheet will be merged. |
Key String Search at | match |
Input int |
|
Specified merge only matched worksheet. The match options is the following list.
|
Key String(like:"?ook*") | key |
Input string |
|
The specified match key. |
Rename Worksheet with | rename |
Input int |
|
Specified the rename option
|
Output Worksheet | owp |
Output WorksheetPage |
|
Specified the output worksheet page. See the syntax here. |
This function is used to merge the workbooks to a new workbook. Each workbook will convert to worksheet in the new worksheet page.