Origin Version (Select Help-->About Origin): 7.5 Operating System:Win XP
Hello,
could someone help me to rename a worksheet and its columns with a script window ?
I import the worksheet with this script: ---------------------------------------------------------------- run.section(Standard,NewWks); getfile *.*; open -w %b%a; %v=%h; ncols=%v!wks.ncols; %v!wks.col1.name$=Abs; for(i=1;i<=ncols-1;i+=1) { create %v_b$(i) 300; edit %v_b$(i); copy col($(i+1)) %v_b$(i); }; copy col(1) %v_a; for(i=1;i<=ncols;i+=1) { delete col(1); }; ------------------------------------------------------------------
Thank you very much. |