title: Centering, Merging, and Wrapping Text In Cells - EPPlus
body: <p>I'm trying to center a header(s) for an excel file like so:
  <a href="https://i.stack.imgur.com/SHub3.png" rel="noreferrer"><img src="https://i.stack.imgur.com/SHub3.png" alt="Excel Table"></a></p>
  
  <p>But I am missing a few details, since the code below one writes on one line and does not expand the cell's height. Here is my code so far:</p>
  
  <pre><code>ws.Cells[$"A{row}:F{row}"].Merge = true;
  ws.Cells[$"A{row}"].Style.WrapText = true;
  ws.SelectedRange[$"A{row}"].Value = purchaseHistory[0].LineText;
  </code></pre>