It should be doable... the HTML file is a text file, so you can read it with
Access VBA I/O statements, e.g., Input#, just like any other text file, and
write a new file with data merged from the original and your table, with
appropriate statements, e.g., Print#.
The only part that could be tricky is to determine just what records from
your Access table you should retrieve and insert -- my recollection is that
you are a long-time participant here, and know how to retrieve data from
tables with VBA and DAO (or ADO), so I won't offer suggestions on that part.
Larry Linson
Microsoft Access MVP
"Lauren Quantrell" <la*************@hotmail.comwrote in message
news:5a**********************************@s13g2000 prd.googlegroups.com...
>I have an HTML file named myHTML.htm
It looks like this:
<great HTML code>
<more great HTML code>
<even more great HTML code>
<insert HTML here>
</great HTML code>
</more great HTML code>
</even more great HTML code>
I need to use my Access database to pull data from a table and insert
it into the HTML file
where it reads: <insert HTML here>
Doable?
Any help is appreciated,
lq