I've got a commissions calculation system that has an option that allows users to send out emails. In the system vba code generates html code that is used as emails to be sent out by the system. My new challenge is to allow users to edit the html code, but the approaches I'm trying cause the emails to appear inconsistent. The html isn't editable without messing up the formatting and I don't see an easy fix. Does anybody know of an html template system that already exists? Ideally one that I could use with the vba and pass a sql string to the template system which would then output html.