title: Write a formula in an Excel Cell using VBA
body: <p>I'm trying to use VBA to write a formula into a cell in Excel.
  My problem is that when I use a semicolon (<code>;</code>) in my formula, I get an error:</p>
  
  <blockquote>
    <p><strong><code>Run-time error 1004</code></strong></p>
  </blockquote>
  
  <p>My macro is the following : </p>
  
  <pre><code>Sub Jours_ouvres()
      Dim Feuille_Document As String
      Feuille_Document = "DOCUMENT"        
      Application.Worksheets(Feuille_Document).Range("F2").Formula = "=SUM(D2;E2)"    
  End Sub
  </code></pre>