T O P I C R E V I E W |
phics |
Posted - 05/19/2009 : 01:30:31 AM Origin Ver. and Service Release (Select Help-->About Origin): OriginPro8.0 Sr5 Operating System: XP
Hi,
When I import ASCII data whichtheir file names are e.g. A.001, A.002, A.003,..., their workbook names become A, A_1, A_2, ...
Can I make the workbook name including extention automatically, like A001, A002, ...?
Thank you.
HJ |
1 L A T E S T R E P L I E S (Newest First) |
Laurie |
Posted - 05/19/2009 : 09:37:41 AM The workbook get renamed with the filename minus the extension. The filename with extension is used for the book long name; you'd have to run a short script to rename the book with A001, A002, etc.
If you create an import filter, using the Import Wizard, you can put the script there. On the last page of the Wizard, the Save Filters page, you want to check both the "Save filter" and "Specify advanced filter options" checkboxes and then click Next. You can then paste the script below:
string str$ = page.longname$; str.Remove('.'); win -r %H %(str$);
OriginLab Technical Support |
|
|