fpSpread1.ActiveSheet.AddCustomName("Alpha", "Sum(A1,A2)", 1, 1, true, "Comment");
fpSpread1.ActiveSheet.SetFormula(1, 1, "Alpha");
fpSpread1.ActiveSheet.SetValue(0, 0, 10);
fpSpread1.ActiveSheet.SetValue(1, 0, 10);
private void button1_Click(object sender, EventArgs e)
{
fpSpread1.Sheets[0].ModifyCustomName("Alpha", "TestAlpha", true);
listBox1.Items.Add(fpSpread1.ActiveSheet.GetCustomName("TestAlpha", true));
}
FpSpread1.ActiveSheet.AddCustomName("Alpha", "Sum(A1,A2)", 1, 1, True, "Comment")
FpSpread1.ActiveSheet.SetFormula(1, 1, "Alpha")
FpSpread1.ActiveSheet.SetValue(0, 0, 10)
FpSpread1.ActiveSheet.SetValue(1, 0, 10)
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
FpSpread1.Sheets(0).ModifyCustomName("Alpha", "TestAlpha", True)
ListBox1.Items.Add(FpSpread1.ActiveSheet.GetCustomName("TestAlpha", True))
End Sub