In the documentation, for ExecuteHtml, we have : The style of the table can be changed by modifying HtmlCSS variable. But, the HtmlCSS variable is set Private in the DBUtils.bas file. Can you please set it to Public.