Exception | Description |
---|---|
System.ArgumentNullException | cell is null. |
System.InvalidOperationException | cell is part of an array formula or data table which is not confined to just the cell. |
This method, or one of the other ApplyTo overrides must be used to set the value of a cell to a formula.
After this method returns, the WorksheetCell.Formula of the specified cell will return the formula.
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+