Gets or sets the formula of the current shape.
Declaration
string Formula { get; set; }
Property Formula As String
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
shape.Formula = "=A1";
string formula = shape.Formula;