title: How to run a string as a command in VBA
body: <p>I have this simple VBA code below, and I don't know why is not working.</p>
  
  <pre><code>Sub Run()
      test = "MsgBox" &amp; """" &amp; "Job Done!" &amp; """"
      Application.Run test     
  End Sub
  </code></pre>
  
  <p>What I want to do is to put the VBA Command into a variable as text and run it as a command. In this case, I want to run like <code>MsgBox "Job Done!"</code> and print just:</p>
  
  <blockquote>
    <p>Job Done!</p>
  </blockquote>