title: Conditional formatting export to html
body: <p>I'm working on a database which creates a report, with two subreports. One is in the detail section of the main form, and the second is in the footer section of the main form.</p>
  
  <p>The first subreport uses four conditional formatting rules, based on fields in the detail of the subreport.</p>
  
  <p>The main report needs to be exported to html, so that it can be sent out as an email. The problem is, the conditional formatting doesn't carry over, when exported to html.</p>
  
  <p>It's important that the email actually contain the report, and not an attachment.</p>
  
  <p>It would also be best if the whole process could be done automatically, with VBA.</p>
  
  <p>Currently, the code produces an email, with no conditional formatting, so I just need help with getting the formatting onto the HTML file.</p>
  
  <p>Thanks!</p>