Fix merged column header data format
This commit is contained in:
parent
dc1e8616a6
commit
dfe4ef7b5b
@ -70,6 +70,7 @@ namespace RhSolutions.Services
|
||||
.Insert(XlInsertShiftDirection.xlShiftToRight, XlInsertFormatOrigin.xlFormatFromRightOrBelow);
|
||||
|
||||
Range newColumnHeader = _worksheet.Cells[_amountCell.Row, _amountCell.Column - 1];
|
||||
newColumnHeader.NumberFormat = "@";
|
||||
newColumnHeader.Value2 = $"{product.Item1}";
|
||||
newColumnHeader.WrapText = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user