mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
9 lines
252 B
C++
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;
|
|
}
|