Skip to content

Read cell value have formula #14

@shenxingui

Description

@shenxingui

Hello, if cell have formula how to get cell value (not return formula) use Qxln!

sample code:
xlsn::path file = xlsn::path("text.xlsx");
xlsn::workbook wb(file);

auto ws = wb.sheet_by_title("Total");
auto cell = ws.cell(1,3);
qDebug() << "val is " <<QString::fromStdString(cell.valuestd::string());

but return value is SUM(A1:A2),not number string value

thank very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions