LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Seeking Help with Cell/Range Height and Width Properties

I set the Print Area of my worksheet to a single cell. In code, after
retrieving the Range to an object called PR,

PR.Height = 12.75
PR.Width = 48

This looks about right to me. The default cell looks to be about 4 times
wider than it is high.

Now PR.Height definitely correlates to what I see within the Excel UI. If I
right click on the Row header and select Row Height... I get a dialog box
which states 12.75.

However, PR.Width is a little less straightforward. If I right click on the
Column header and select Column Width... I get a dialog box which states
8.43. How does 8.43, correlate to a value of 48 which I get programmatically
through the automation object model?

And secondly, what are the units of measurement represented by these values?

Thanks very much for your help!

- Joseph Geretz -



 
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
cell width and height Brian Brandt New Users to Excel 3 February 14th 06 10:57 AM
Cell Height & Width Equal CCW Excel Discussion (Misc queries) 3 January 12th 06 07:15 PM
What does the 8.43 and 12.75 represent in height and width of cell ljfrantz40 Excel Discussion (Misc queries) 2 October 17th 05 02:25 AM
Is it possible to lock the height and width of a cell? Kilgus Excel Discussion (Misc queries) 1 July 19th 05 08:53 PM
Height + Width of a Range Stuart[_5_] Excel Programming 8 July 18th 04 12:07 AM


All times are GMT +1. The time now is 08:12 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"