We've created an hta template file. Within this file we want to replace the recurring varLocation, varModel, etc variables with the live data. So the number of rows will vary depending on the source data. We're able to do this by embedding the entire html code in an Access module. We are then outputting this into an Outlook email. That process works perfectly.

Code:
<table id="Support">
     <tr>
        <td class="header1">Location</td>
        <td class="header1">Model</td>
        <td class="header2">SN</td>
        <td class="header2">PrevExpire</td>
        <td class="header2">BeginDate</td>
        <td class="header2">EndDate</td>
        <td class="header3">WarrPrice</td>
    </tr>
    <tr>
        <td class="var-detail-1">varLocation</td>
        <td class="var-detail-1">varModel</td>
        <td class="var-detail-2">varSn</td>
        <td class="var-detail-2">varPrevExpire</td>
        <td class="var-detail-2">varBeginDate</td>
        <td class="var-detail-2">varEndDate</td>
        <td class="var-price">varWarrantyPrice</td>
    </tr>
    <tr>
        <td class="noborder"></td>
        <td class="noborder"></td>
        <td class="noborder"></td>
        <td class="noborder"></td>
        <td class="noborder"></td>
        <td class="noborder">TOTAL:</td>
        <td class="var-total">varTotalWarrSupport</td>
    </tr>
</table>
However, what we'd prefer to do is to simply read the hta's applicable table row of variables and replace with rows of live data. The reason we don't want to embed everything is that we are planning an interface where the user can select from a list of templates to use.

Thank you,

Ken