问题描述

突然发现 Excel 的行高和列宽的单位并不统一

Excel 行高列宽与图片像素的关系




解决方案

1英寸 = 72像素

1磅 = 1像素

Excel 行高 1单位 = 1磅 = 1像素

Excel 列宽 1单位 = 1个字符宽度

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.

Excel 列宽 1单位 = 普通视图下1个字符的宽度,若为等宽字体,则为0的宽度。

列宽无具体值,需要用 VBA 进行计算准确值




本人测试

默认 宋体 11

Excel 列宽 1单位 = 6.107像素




参考文献

  1. 为什么Excel的行高和列宽单位不一样?
  2. 1磅等于多少像素
  3. 在ps中1厘米是多少像素
  4. Range.ColumnWidth property (Excel)
  5. What is the unit of Excel column width?

相关文章:

  • 2021-06-06
  • 2021-06-02
  • 2022-12-23
  • 2022-01-01
  • 2021-12-31
  • 2022-12-23
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-02-21
  • 2021-08-25
相关资源
相似解决方案