T O P I C R E V I E W |
Marco1234 |
Posted - 05/14/2002 : 03:12:22 AM If I import an ASCCI file by a script with the command OPEN the active worksheet will named as the ASCCI filename. I can get the old WksName, but a can not set it. Also I can only import in the first col(if it is one col), first+second (two col) and so on. But I need the Data in the maybee 88 col! Can someone help me? |
1 L A T E S T R E P L I E S (Newest First) |
Jose |
Posted - 05/14/2002 : 06:12:50 AM If you have the old name kept in the string variable %n, you can rename the current worksheet after importing with
win -r %h %n;
If I understand your second problem, you want to import new data keeping the existing ones in the previous columns. I don't know what to do to import them in a exact column position, but there is an option to import new data in a worksheet keeping the previous: do File/Import/Single ASCII, then click the Options button. A dialog form will appear where you can select 'Import Info Worksheet as... New Columns'. This option can be saved as a worksheet template. I haven't found how to set it using LabTalk.
Alternatively, you may consider importing new data in a new worksheet, then join old+new with the [oldWks!]wks.join(newWks) method of the wks object, combined with the wks.joinmode property.
Regards,
Jose Viņa, Origin WebRing member
Edited by - Jose on 05/14/2002 06:16:59 |
|
|