title: Quotations in HTML Code generated by VBA
body: <p>I am running into a situation in which I am using VBA to generate HTML code that will go into an Outlook email. The HTML code has a bunch of images in it and I am storing the image path names in string variables. For Outlook to recognize the image, it needs quotes around it in the format: </p>
  
  <pre><code>&lt;img src="filepath"&gt;
  </code></pre>
  
  <p>The problem is when I write the VBA code to contain the quotation marks, it doesn't realize the variable is a variable and instead inputs it as text. Here is the code I am using (this is just the snippet causing problems:</p>
  
  <pre><code> StageID = "C:\Users\xxxxx\Desktop\stage1.png"
   Body = Body &amp; "&lt;TR&gt;&lt;TD width=""100"" rowspan=""6"" align=""middle""&gt;&lt;img src="""" &amp; StageID &amp; """" align=""middle"" width=""100"" height=""200""&gt;&lt;/td&gt;&lt;/tr&gt;
  </code></pre>