Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
griselda_perez
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
2 L A T E S T R E P L I E S (Newest First)
griselda_perez
Posted - 06/12/2015 : 5:54:52 PM In the column added in every Worksheet
lkb0221
Posted - 06/12/2015 : 3:08:33 PM What do you mean by: wcol(ncols) = normalize iy:=Col(2) method:=max oy:=<new>;
You want the normalize result in that added column or a new column?