The number of Apple cells numerically

In the EPPlus extension, if I need to set the style for a range of cells such as A1-C1, I will use the following

ws.Cells["A1:C1"].Style.Font.Bold = true;

What is equivalent only to numbers for this?

+4
source share
1 answer

Cellshas an overload that allows you to do [FromRow, FromCol, ToRow, ToCol]as follows:

ws.Cells[1, 1, 1, 3].Style.Font.Bold = true;
+11
source

Source: https://habr.com/ru/post/1623835/


All Articles