The Options tree specifies all import options for the impSPE X-Function.
Syntax: Options.Treenode:=<value>
Example: Options.sparklines:=0 // Do not add sparklines
The Names branch of the Options tree specifies how to name the worksheet and workbook.
Syntax: Options.Names.Treenode:= <value>
Example: //Rename worksheet with partial filename : Options.Names.FNameToSht:=1 Options.Names.FNameToShtFrom:=1 Options.Names.FNameToShtTo:=4
From Origin 8.6, minus value is supported in FNameToBkFrom and FNameToBkTo to count the end of the name from the last character of the file name. It can be used to trim the file extension when you rename book. For example, if you want to import a Princeton Instruments file named sample.spe, you can specify the setting as below to trim the extension ".spe" when renaming the workbook name: