Thanks. That seems to give me a start. This should be very simple, but I can't seem to get my code to run with any regularity. This is what I have:
[Main]
int NumColumns = wks.ncols;
for(ii=1; ii<=$(NumColumns); ii++;){
if(wks.isColSel([ii])){
col($(ii))=1/(col($(ii))*0.000000001/0.01);
}
}
This code is stored in a file in my user path called ntol.ogs If I go to the Script Window and try to run it, I can get it to work once by typing in ntol; or run.section(ntol); or some other combinations, but then it won't run again, for example if I move to a different sheet, or even if I just select a different column in the same sheet. How do I get it to run again?