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
lillt91
Posted - 05/05/2018 : 06:38:57 AM Origin Ver. and Service Release (Select Help-->About Origin): 2018b Operating System: Windows 8
Origin Ver. and Service Release (Select Help-->About Origin): 2018b Operating System: Windows 8
Hi everyone, this is my code for a little script i wrote to handle my data. Sadly it wont work the way i want bc it crashes at the point "newbook;". Does anyone know how to fix it?
the error origin shows me: "newbook Not ascii #Command Error!"
quote:range strom = 2:9; del wcol(32); del strom;
wtranspose iw:=<active> ow:=<active>;
worksheet -s 0 1 0 1; wks.SetAsLabel(C,-1,0,0);
col(1)=Data(1,22);
wcolwidth irng:=%H width:=7;
//deleting cols with empty data ncols=wks.ncols; for(ii=ncols;ii>=1;ii--) { if (mean(wcol($(ii))) == 848) { del col($(ii)); } }
//add new book, activate book1 again newbook; win -a Book1; wks.name$ = Raw;