You need Origin C to access the column formula. First, add the SetColumnFormula function at the bottom to your workspace...
http://www.nmrtools.com/labtalk/tryOC.html
Then use it in a LabTalk script like this...
SetColumnFormula E "col(C)*col(D)";
// Function starts here
void SetColumnFormula(string colName, string strFormula)
{
Worksheet wks = Project.ActiveLayer();
wks.Columns(colName).SetFormula(strFormula);
wks.Columns(colName).SetFormulaAutoUpdate();
}
Mike Buess
Origin WebRing Member