Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: How to get the name of the current workbook / worksheet

$
0
0
XLWorkbook wb = new XLWorkbook(fileLocation);  // open an existing workbook
XLWorksheet ws = wb.Worksheet(1);   // get first worksheet contained by this workbook
XLWorkbook sameWb = ws.Workbook;   // get reference to the workbook that contains this worksheet

Viewing all articles
Browse latest Browse all 1877

Trending Articles