دعم اللغة الألمانية في صيغ النطاقات المسماة
Contents
[
Hide
]
تم كتابة الصيغ الإنجليزية في المنطقة المسماة. يمكن فتح هذا ملف الإكسل في بيئة تكون النظام مضبوطًا على اللغة الألمانية ولكن يجب ترجمة الصيغة الإنجليزية إلى اللغة الألمانية. يوضح المثال التالي هذه الميزة، ومع ذلك يتطلب تثبيت Excel باللغة الألمانية وضبط موقع النظام أيضًا على اللغة الألمانية.
يمكن تنزيل ملف عينة لاختبار هذه الميزة من الرابط التالي:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
const string name = "HasFormula"; | |
const string value = "=GET.CELL(48, INDIRECT(\"ZS\",FALSE))"; | |
Workbook wbSource = new Workbook(sourceDir + "sampleNamedRangeTest.xlsm"); | |
WorksheetCollection wsCol = wbSource.Worksheets; | |
int nameIndex = wsCol.Names.Add(name); | |
Name namedRange = wsCol.Names[nameIndex]; | |
namedRange.RefersTo = value; | |
wbSource.Save(outputDir + "sampleOutputNamedRangeTest.xlsm"); |