title: How do you place a textbox object over a specific Cell when automating Excel?
body: <p>We are automating Excel using VB.Net, and trying to place multiple lines of text on an Excel worksheet that we can set to not print. Between these we would have printable reports.
  We can do this if we add textbox objects, and set the print object setting to false. (If you have another way, please direct me)</p>
  
  <p>The code to add a textbox is:</p>
  
  <pre><code>ActiveSheet.Shapes.AddTextbox(msoTextOrientationHorizontal, 145.5, 227.25, 304.5, 21#)
  </code></pre>
  
  <p>but the positioning is in points. We need a way to place it over a specific cell, and size it with the cell. How can we find out where to put it when we just know which cell to put it over?</p>