دعم اللغة الألمانية في صيغ النطاقات المسماة

Contents
[ ]

تمت كتابة الصيغ الإنجليزية في النطاقات المسماة. يمكن فتح ملف إكسل هذا في بيئة حيث يتم تكوين النظام ليكون بتوقيت اللغة الألمانية. ومع ذلك، يجب ترجمة الصيغ الإنجليزية إلى اللغة الألمانية. يوضح المثال التالي هذه الميزة، ومع ذلك، يتطلب تثبيت Excel وتعيين موقع النظام باللغة الألمانية أيضًا.

يمكن تنزيل ملف عينة لاختبار هذه الميزة من الرابط التالي:

sampleNamedRangeTest.xlsm

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-Java
// Define variables
String name = "HasFormula";
String value = "=GET.CELL(48, INDIRECT(\"ZS\",FALSE))";
// Load the template file
Workbook wbSource = new Workbook(srcDir + "sampleNamedRangeTest.xlsm");
// Get the worksheets collection
WorksheetCollection wsCol = wbSource.getWorksheets();
// Add new name to the names collection
int nameIndex = wsCol.getNames().add(name);
// Set value to the named range
Name namedRange = wsCol.getNames().get(nameIndex);
namedRange.setRefersTo(value);
// Save the output file
wbSource.save(outDir + "sampleOutputNamedRangeTest.xlsm");