Use the 'ComReportHTMLPreview' function to get the HTML string.