Çalışma Kitabının Formül Hesaplama Modunu Ayarlama

Contents
[ ]

Microsoft Excel’de formül hesaplama modunu ayarlamak için:

  1. Seçmeformüller ve sonraHesaplama Seçenekleri.
  2. Seçeneklerden birini seçin.

Aspose.Cells ayrıcaFormül Hesaplama Modu kullanarakFormulaSettings.CalculationMode mod özelliği. atayabilirsinizCalcModeTypeAşağıdaki değerlerden birine sahip numaralandırma:

  • CalcModeType.Otomatik
  • CalcModeType.AutomaticExceptTable
  • CalcModeType.Manual
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
// Create a workbook
Workbook workbook = new Workbook();
// Set the Formula Calculation Mode to Manual
workbook.Settings.FormulaSettings.CalculationMode = CalcModeType.Manual;
// Save the workbook
workbook.Save(dataDir + "output_out.xlsx", SaveFormat.Xlsx);