Adlandırılmış Aralık Formüllerinde Almanca Yerel Ayar Desteği
Contents
[
Hide
]
İngilizce formüller adlandırılmış bölgeye yazılır. Bu Excel dosyası, sistemin Almanca Yerel Ayarına göre yapılandırıldığı bir ortamda açılabilir, ancak İngilizce formülün Almanca diline çevrilmesi gerekir. Aşağıdaki örnek bu özelliği gösterir, ancak Excel’in Almanca olarak yüklenmesini ve sistem yerel ayarının da Almanca olarak ayarlanmasını gerektirir.
Bu özelliği test etmek için örnek dosya aşağıdaki bağlantıdan indirilebilir:
This file contains hidden or 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-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"); |