Jose
Netherlands
93 Posts |
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 Via, Origin WebRing member
Edited by - Jose on 05/14/2002 06:16:59 |
 |
|