Select or hide columns in worksheet
Minimum Origin Version Required: Origin 2017 SR0
1. wselcol colx:=c test:=<[<c[L]$=="Sensor*">]> end:=10; //Select the "Sensor" columns(with word "Sensor" in its column long name).
2. wselcol operation:=hide mode:=skip sel:=2 skip:=3 end:=10; //Hide every 2 columns and then skip next every next 3 columns.
Please refer to the page for additional option switches when accessing the x-function from script
x[U]$=="amp*" && x[C]$=="reference" //select the columns with long name equals "amp" and comments equals "reference"
The wildcards (* and ?) are allowed here. More details, please refer to the condition box in Worksheet Query.
This X-Function is used to select or hide desired columns before plotting or analyzing.
The Select dialog, which is similar but simpler, is also available.