View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld Ron Rosenfeld is offline
external usenet poster
 
Posts: 5,651
Default Calculating Row Height & Column Width

On Mon, 8 Jun 2009 09:07:01 -0700, RestlessAde
wrote:

Does anyone know formulas in Excel for the following:

- Return the column width (in pixels) of the cell containing the formula.
- Return the row height (in pixels) of the cell containing the formula.

Ideally these would be through standard built-in functions, although if not
possible a VB approach would also be fine.

Thanks!
RA


In order to do this, you need to know the "dpi" of the display. RowHeight and
ColumnWidth are properties of the Range object. But the result is in points.
--ron