←Select platform

SetCellFormula Method

Summary

Sets the cell formula value.

Syntax

C#
C++/CLI
Python
public void SetCellFormula( 
   string formula 
) 
public:  
   void SetCellFormula( 
      String^ formula 
   ) 
def SetCellFormula(self,formula): 

Parameters

formula

A string that can be set to represent a mathematical or logical formula.

Remarks

Formulas can include references to other cells, mathematical operations, logical operations, and predefined functions.

Setting the cell formula may trigger recalculation of the cell's value when the formula is set or when referenced data changes.

Requirements

Target Platforms

See Also

Cell Class

Cell Members

Leadtools.Document.LEADOffice.Sheet Namespace

Help Version 23.0.2024.4.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.LEADOffice Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.