Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88087

Custom number format with unit in EPPlus

$
0
0

Is it possible to set the format for a cell/column in excel like shown in the image using EPPlus? What's the proper syntax to achieve that? The following code doesn't work.

worksheet.Cells[row, col].Style.Numberformat.Format = @"@"" Mhz""";

enter image description here


Viewing all articles
Browse latest Browse all 88087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>