Re: Custom column widths
- From: Gord Dibben <gorddibbATshawDOTca>
- Date: Fri, 28 Mar 2008 10:32:05 -0700
You are stuck with what Excel will accept due to Excel's method of setting width
and height.
Row heights are measured in points or pixels. There are 72 points to an inch
and "maybe" 96 pixels to the inch.
The number that appears in the Standard column width box is the average number
of digits 0-9 of the standard font that fit in a cell.
When dragging the column width you will see two numbers.........one is width as
above, the other is pixels.
For an interesting and enlightening discussion on this subject see
http://snipurl.com/dzz8
If you want to use VBA to set height and width in mm.
Ole Erlandson has code for setting row and column dimensions which will not be
affected by resolution.
http://www.erlandsendata.no/english/index.php?d=envbawssetrowcol
Gord Dibben Excel MVP
On Fri, 28 Mar 2008 09:33:00 -0700, Lisa <Lisa@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
How can I get Excel to accept a column width of 3.35? It changes it to 3.29.
.
- References:
- Custom column widths
- From: Lisa
- Custom column widths
- Prev by Date: Re: Reduce Size of Blank Rows (again)
- Next by Date: Re: Reduce Size of Blank Rows (again)
- Previous by thread: Custom column widths
- Index(es):
Relevant Pages
|