Free Support Forum - aspose.app

Aspose cells read xlsm file with macros

Hello team,
I want to load a template xlsm file and read cells data with Visual Basic code function.

My code:
Worksheet worksheet = workbook.getWorksheets().get(model.getSheet());
com.aspose.cells.Cells cells = worksheet.getCells();
com.aspose.cells.Cell cell = cells.get(“H18”);
String value = cell.getStringValue();

But value return null. Is my code wrong?.(cell H18 data not null when open with Microsoft Excel)
Thanks for support!
image.png (23.8 KB)

This topic has been moved to the related forum: https://forum.aspose.com/t/aspose-cells-read-xlsm-file-with-macros/213158