The following Origin C code will clear the F(x) cell for all columns, in all worksheets, in all worksheet pages.
int DelAllColFormulas()
{
foreach(WorksheetPage wp in Project.WorksheetPages)
{
foreach(Layer lay in wp.Layers)
{
Worksheet wks(lay);
foreach(Column col in wks.Columns)
{
col.SetExtendedLabel("", RCLT_FORMULA);
}
}
}
return 0;
}