set_shared_formula method

set_shared_formula

Sets shared formulas to a range of cells.

def set_shared_formula(self, shared_formula, row_number, column_number):
    ...
ParameterTypeDescription
shared_formulastrShared formula.
row_numberintNumber of rows to populate the formula.
column_numberintNumber of columns to populate the formula.

Remarks

set_shared_formula

Sets shared formulas to a range of cells.

def set_shared_formula(self, shared_formula, row_number, column_number, options):
    ...
ParameterTypeDescription
shared_formulastrShared formula.
row_numberintNumber of rows to populate the formula.
column_numberintNumber of columns to populate the formula.
optionsFormulaParseOptionsOptions for parsing the formula.

set_shared_formula

Sets a formula to a range of cells.

def set_shared_formula(self, shared_formula, row_number, column_number, is_r1c1, is_local):
    ...
ParameterTypeDescription
shared_formulastrShared formula.
row_numberintNumber of rows to populate the formula.
column_numberintNumber of columns to populate the formula.
is_r1c1boolwhether the formula is R1C1 formula
is_localboolwhether the formula is locale formatted

Remarks

NOTE: This class is now obsolete. Instead, please use Cell.SetSharedFormula(string,int,int,FormulaParseOptions). This property will be removed 12 months later since December 2019. Aspose apologizes for any inconvenience you may have experienced.

set_shared_formula

Sets shared formulas to a range of cells.

def set_shared_formula(self, shared_formula, row_number, column_number, options, values):
    ...
ParameterTypeDescription
shared_formulastrShared formula.
row_numberintNumber of rows to populate the formula.
column_numberintNumber of columns to populate the formula.
optionsFormulaParseOptionsOptions for parsing the formula.
valueslistvalues for those cells with given shared formula

See Also