This script might be helpful to you:
The following will select any column in the worksheet:
wks.colsel(1); //selects first column wks.colsel(3); //selects third column
jj will return the selected column numbers in the current worksheet.
loop(ii,1,%H!wks.iscolsel()) { jj=%H!wks.c1+%(%H,@O,ii-1); jj=; };
Lorraine OriginLab Technical Support |