#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Row Height

Hi all,

by default excel column width and row height are measured
in pixels. Is there a way to get this in centi meters? by
code or theu an addin? which can be used in all workbooks
by default.

TIA

Soniya
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Row Height

Your basic statement is blatantly false. You need to look in excel VBA help
to see how rowheight and columnwidth are actually measured. Perhaps this
misperception is the main cause of your problem.

RowHeight
Returns the height of all the rows in the range specified, measured in
points

Height Property (for a range)
Returns or sets the height of an object, in points.

ColumnWidth
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.

Use the Width property to return the width of a column in points.

Look in help for centimeterstopoints

Width Property (for a range)

Returns or sets an object's width, in points.



-----

Point: a unit of measurement equal to 1/72nd of an inch

--

Regards,

Tom Ogilvy





"Soniya" wrote in message
...
Hi all,

by default excel column width and row height are measured
in pixels. Is there a way to get this in centi meters? by
code or theu an addin? which can be used in all workbooks
by default.

TIA

Soniya



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
Set a minimum row height a the same time with autofit row height Julie B New Users to Excel 2 May 5th 23 07:44 PM
Row Height stopped growing and Auot-Fit Row Height does not work PSULionRP Excel Discussion (Misc queries) 0 May 19th 09 07:59 PM
the row height should be excatly the height of the data jaggu Excel Discussion (Misc queries) 2 November 6th 08 10:30 PM
need to dbl row height without changing height of cell next to it Excel-Illiterate New Users to Excel 1 May 16th 06 01:08 AM
Resizing row height to dynamically fit height of text box Jon Excel Discussion (Misc queries) 1 August 8th 05 01:37 PM


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