Forum Discussion

StB-Germany's avatar
StB-Germany
Copper Contributor
Aug 25, 2023
Solved

Formulas do not calculate after using Office Script

Dear community,   I have problem which I cannot get my head around.   I have to convert a Excel table into a specific format and use some formulas to enter information I need for the further proc...
  • SergeiBaklan's avatar
    SergeiBaklan
    Aug 25, 2023

    StB-Germany 

    setValue into C5 puts the value, which is string, into that cell. You shall to set the formula, like

        workbook
            .getActiveWorksheet()
            .getRange("C5")
            .setFormula("=CONCATENATE(B5,A5")
    
    

Resources