How to get Excel Columns Range in Epplus and set its Column Width? -
example. how in epplus?
sheet.cells["a1:d1"].column.width = 10;
in excel interop:
sheet.get_range("a1", "d1").columnwidth = 10;
and start in specific column. not using ws.cells[range]
int startcolumn = 3; int endcolumn = 10; (int = startcolumn; <= endcolumn; a++) { sheet.column(a).width = 10; }
Comments
Post a Comment