- Code: Select all
sheet.Range["H5"].Formula = "=WENN(ABS(F5)>1;\"Nicht Ok\";\"Ok\")";
but the Output in Excel looks like this:
- Code: Select all
=WENN(ABS(F5)>'1;"NICHT OK";"OK"')
Due to the ' sign the formula doesn't work
sheet.Range["H5"].Formula = "=WENN(ABS(F5)>1;\"Nicht Ok\";\"Ok\")";
=WENN(ABS(F5)>'1;"NICHT OK";"OK"')
lukas8lob wrote:I want to write this formula in an Excel Cell:
- Code: Select all
sheet.Range["H5"].Formula = "=WENN(ABS(F5)>1;\"Nicht Ok\";\"Ok\")";
but the Output in Excel looks like this:
- Code: Select all
=WENN(ABS(F5)>'1;"NICHT OK";"OK"')
Due to the ' sign the formula doesn't work