/// <summary> /// Sets a formula into the current cell and moves the cursor to the next cell (column or row depending on the defined cell direction) /// </summary> /// <exception cref="WorksheetException">Throws a WorksheetException if no worksheet was defined</exception> /// <param name="cellFormula">Formula to set</param> public void Formula(string cellFormula) { NullCheck(); currentWorksheet.AddNextCellFormula(cellFormula); }