Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Excel 2000: Points vs. Pixels

Is there a way to set row height and column width in pixels, rather than in
points?

It appears that the .ColumnWidth/.Width and .RowHeight/.Height properties
operate only in points.

TIA!
-Mike Mertes


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Excel 2000: Points vs. Pixels

Hi Mike -

..ColumnWidth works in zeros, that is, the number of zero characters of
the default font. Most everything else goes by points. I've found the
conversion to be 0.75 points per pixel, 72 points per inch/96 pixels per
inch (96/inch is a standard pixel resolution). Different Windows
settings may affect this: I read recently that using large fonts changes
this to 0.8.

There are a couple of activewindow properties, PointsToScreenPixelsX and
PointsToScreenPixelsY, which tell you the dimensions of an object in
pixels, but I've never had it return any values other than zero.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Mike Mertes wrote:

Is there a way to set row height and column width in pixels, rather than in
points?

It appears that the .ColumnWidth/.Width and .RowHeight/.Height properties
operate only in points.

TIA!
-Mike Mertes



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pixels Tanya Excel Discussion (Misc queries) 1 January 15th 09 06:27 AM
change cell/s into perfect squares in mm/points/pixels in Excel 20 Ferdinand Excel Discussion (Misc queries) 1 October 20th 08 03:24 PM
pixels Enthusiastic new user New Users to Excel 2 August 13th 07 12:02 AM
Pixels are the new pies SwampYankee Charts and Charting in Excel 4 August 2nd 07 05:56 PM
some columns 30 characters 155 pixels others 310 pixels why vurden Excel Discussion (Misc queries) 2 April 26th 05 03:30 AM


All times are GMT +1. The time now is 08:33 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"