ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Custom column widths (https://www.excelbanter.com/new-users-excel/181694-custom-column-widths.html)

Lisa

Custom column widths
 
How can I get Excel to accept a column width of 3.35? It changes it to 3.29.

Gord Dibben

Custom column widths
 
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/...vbawssetrowcol


Gord Dibben Excel MVP

On Fri, 28 Mar 2008 09:33:00 -0700, Lisa wrote:

How can I get Excel to accept a column width of 3.35? It changes it to 3.29.




All times are GMT +1. The time now is 03:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com