Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read cell value have formula #14

Open
shenxingui opened this issue Apr 28, 2022 · 0 comments
Open

Read cell value have formula #14

shenxingui opened this issue Apr 28, 2022 · 0 comments

Comments

@shenxingui
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant