title: Using an existing spreadsheet as a template PHPspreadsheet
body: <p><strong>Objective</strong></p>
  
  <p>I want to use an existing Excel sheet, as a template to create an invoice.</p>
  
  <ul>
  <li>Cell styling, such as coloring have to be included</li>
  <li>An image (logo) has to be included</li>
  <li>Standard data such as company address has to be included</li>
  </ul>
  
  <p>I've read something about cfspreadsheet, but I'm not entirely sure how to use it.</p>
  
  <p><strong>Question A:</strong></p>
  
  <p>Is there a way to use a template file? Or do you know any alternatives?</p>
  
  <p><strong>Question B</strong></p>
  
  <p>Is it possible to use $_POST data with this library?</p>
  
  <p><strong>Example</strong></p>
  
  <pre><code>$data = $_POST['example'];
  
  $spreadsheet = new Spreadsheet();
  $sheet = $spreadsheet-&gt;getActiveSheet();
  $sheet-&gt;setCellValue('A1', '$data');
  </code></pre>