• ms access vba use html template to populate recurring rows of variables

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » ms access vba use html template to populate recurring rows of variables

    Author
    Topic
    #486450

    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:
    Location Model SN PrevExpire BeginDate EndDate WarrPrice
    varLocation varModel varSn varPrevExpire varBeginDate varEndDate varWarrantyPrice
    TOTAL: varTotalWarrSupport

    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

    Reply To: ms access vba use html template to populate recurring rows of variables

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: