2.7.4 expExcel

Menu Information

File: Export: Excel

Brief Information

Export worksheet data as Excel sheet

Additional Information

Minimum Origin Version Required: 2019b

Command Line Usage

expExcel C:\Users\OL\Documents\OriginLab\User Files\Book1.xls sheets:=active;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Worksheet iwp

Input

WorksheetPage

<active>
Specify the input workbook where the worksheet(s) you want to exported exists. By default, current workbook will be selected.
File Name fname

Input

string

fname$
Specify the output file path and file name.
Export Sheets sheets

Input

int

1

Specify the worksheets you want to export. Option list:

  • Whole Book
    Current whole workbook will be exported, excluding the excluded sheets and report sheets.
  • Active Sheet Only
    Only current activated sheet will be exported.

Description

This X-Function can be used to export current workbook or specified worksheet(s) as an Excel file.

Related X-Functions

expASC, expNITDM