قراءة وكتابة تنسيق ملف XLSM
Contents
[
Hide
]
سيناريوهات الاستخدام المحتملة
يدعم Microsoft Excel العديد من التنسيقات مثل XLS و XLSX و XLSM و XLSB و CSV وغيرها. يدعم Aspose.Cells أيضًا العديد من هذه التنسيقات. يوضح هذا المقال كيفية قراءة وكتابة ملف Excel بصيغة XLSM باستخدام Aspose.Cells.
قراءة وكتابة تنسيق ملف XLSM
يحمّل الكود النموذجي التالي ملف XLSM المصدر ويقرأ خلية A1 ثم ينقل محتواها إلى C4 ويحفظه كملف XLSM الناتج.
الكود المثالي
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
loadOptions, _ := NewLoadOptions(LoadFormat_Numbers) | |
workbook, _ := NewWorkbook_String_LoadOptions("48496674.numbers", loadOptions) | |
workbook.Save_String("48496675.pdf") |