IXlCell.SetSharedFormula Method

Name Parameters Description
SetSharedFormula(XlCellPosition) hostCell Creates the shared formula based on the formula contained in the host cell.
SetSharedFormula(XlExpression, XlCellRange) formula, range Assigns the specified formula expression to the given cell range to create a shared formula.
SetSharedFormula(String, XlCellRange) formula, range Assigns the specified formula string to the given cell range to create a shared formula.