xlnt/docs/samples/sample1.cpp
2014-05-06 17:28:38 -04:00

9 lines
252 B
C++

#include "../include/xlnt/reader.h"
int main()
{
auto wb = xlnt::reader::load_workbook("empty_book.xlsx");
auto sheet_ranges = wb.get_sheet_by_name("range names");
std::cout << (std::string)sheet_ranges.cell("D18").value() << std::endl;
}