This commit is contained in:
kamonwan taengsuk
2023-06-19 17:09:56 +07:00
parent 4e15c8c6fa
commit 29c06ccac8
5 changed files with 12 additions and 1 deletions

View File

@@ -4704,6 +4704,12 @@ namespace rmutr_report.Controllers
ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Alignment.WrapText = true;
ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Alignment.Vertical =
XLAlignmentVerticalValues.Center;
ws.Cell(row, 6).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 8).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 10).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 12).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 14).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 16).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 1).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Left;
ws.Cell(row, 2).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Right;
ws.Cell(row, 3).Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Right;
@@ -4765,7 +4771,12 @@ namespace rmutr_report.Controllers
ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Font.FontName =
"TH SarabunPSK";
ws.Cell(row, 1).Style.Font.FontSize = 16;
ws.Cell(row, 6).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 8).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 10).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 12).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 14).Style.NumberFormat.Format = "#,##0.0000";
ws.Cell(row, 16).Style.NumberFormat.Format = "#,##0.0000";
ws.Range(ws.Cell(row, 5), ws.Cell(row, 17)).Style.Font.SetBold().Font.FontSize = 16;
ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Alignment.WrapText = true;
ws.Range(ws.Cell(row, 1), ws.Cell(row, 17)).Style.Alignment.Vertical =