title: Get size of excel cell in pixels
body: <p>I am trying to programatically (C++ but VBA explanations are OK) get the size of an excel cell in pixels. The excel application gui shows the size of the cell as:<br>
  Width: <strong>8.28 (160 pixels)</strong> Height: <strong>24.6 (41 pixels)</strong>, Font is Arial 20 pt.</p>
  
  <p>Using an excel range I can get the:<br>
  ColumnWidth: <strong>8.3</strong>, RowHeight: <strong>24.6</strong><br>
  Range Width: <strong>96</strong>, Range Height <strong>24.6</strong></p>
  
  <p>I tried using PointsToScreenPixelsX and PointsToScreenPixelsY for all of the above values but they returned values which didn't match up with what the excel gui said (<strong>396</strong> for row/cell height, <strong>136</strong> for column width and <strong>224</strong> for column width).</p>
  
  <p>Any ideas?</p>