
Contents |
Get selections in a worksheet.
X-Function not designed for Auto GetN Dialog.
Minimum Origin Version Required: 8.5 SR0
get_wks_sel str:=selection
| Display Name | Variable Name | I/O and Type | Default Value | Description |
|---|---|---|---|---|
| str |
Output string | | 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 | | Specify the worksheet to get the selections. |
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.