griselda_perez
Mexico
2 Posts |
Posted - 06/12/2015 : 2:55:18 PM
|
Origin Ver. and Service Release (Select Help-->About Origin): Operating System: Hello! Im using OriginPro 8. Im using a Workbook with multiple Worksheets that are similar. So I want to add a new column in each Worksheet, and in this column I need the data from column B normalized by the maximum value.
I've been checking other users posts in this forum so I tried this (a little modified) script but it didn't work, can you please help me?
Script: // loop over all sheets in book doc -e LW { // Add a column wks.addcol(); // get index of added column int ncols = wks.ncols; // set value of this new col wcol(ncols) = normalize iy:=Col(2) method:=max oy:=<new>; } Error: NORMALIZE IY:=Book2_B METHOD:=MAX OY:=<NEW> LabTalk expression error: 1600
|
|