OriginLab Corporation - Scientific Graphing and Data Analysis Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis

get_plot_sel

Contents

Brief Information

Get selections in a worksheet.

Additional Information

X-Function not designed for Auto GetN Dialog.

Minimum Origin Version Required: 8.5 SR0

Command Line Usage

get_wks_sel str:=selection

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
str

Output

string

sel
This string variable holds the output string that reflects the selections in the worksheet. If there are no selections, this string will be empty.
sep

Input

string

|
Specify the separator used to divide different selections in the output string.
wks

Input

Worksheet

<active>
Specify the worksheet to get the selections.

Description

This X-Function gets the selections in the specified worksheet, and outputs the result to a string variable. When there are multiple selections, the ranges of these selections will be separated by a specified separator in the string.