Convert Excel column width between characters unit and pixels (points)
问题 "One unit of column width is equal to the width of one character in the Normal style. For proportional fonts, the width of the character 0 (zero) is used." So ColumnWidth in Excel is measured as a number of "0" characters which fits in a column. How can this value be converted into pixels and vice versa? 回答1: As already mentioned ColumnWidth value in Excel depends on default font of a Workbook which can be obtained via Workbook.Styles("Normal").Font . Also it depends on current screen DPI.