Well,
I tried your code on a simple table and got it working in A97 and A2003.
Part of the problem is you jumped right to doing a complex test instead of a
simple one.
Then you couldn't figure out if it was the code or the site or what.
Here it is the procedure (it should look familiar!)
Sub LinkHTML()
Dim dbs As Database
Dim tdfHTML As TableDef
Dim rstSales As Recordset
' Open the Microsoft Access database.
Set dbs = CurrentDb
' Create a TableDef object.
Set tdfHTML = dbs.CreateTableDef("CategoriesHTMLTable")
' Set the connection string to specify the source database type and
' the full path to the file that contains the table you want to link.
tdfHTML.Connect = "HTML Import;" _
& "DATABASE=
http://home/someVirtualDirectory/categories.html"
'
http://www.federalreserve.gov/releases/h15/update/"
' Set the SourceTableName property to the name of the table you want to
access.
tdfHTML.SourceTableName = "Categories"
' Append the TableDef object to the TableDefs collection to create a
link.
dbs.TableDefs.Append tdfHTML
End Sub
I exported a simple table to html and then reviewed it.
It appears that it exports without column names but the linker expects them
so I added them.
It also appears you need to know the "name" of the table.
In this file it was the caption property.
Here is the HTML file that you can test.
<HTML DIR=LTR>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<TITLE>Categories</TITLE>
</HEAD>
<BODY>
<TABLE DIR=LTR BORDER>
<CAPTION>Categories</CAPTION>
<TR>
<TD DIR=LTR ALIGN=RIGHT>CategoryID</TD>
<TD DIR=LTR ALIGN=LEFT>CategoryName</TD>
<TD DIR=LTR ALIGN=LEFT>Description</TD>
</TR>
<TR>
<TD DIR=LTR ALIGN=RIGHT>1</TD>
<TD DIR=LTR ALIGN=LEFT>Beverages</TD>
<TD DIR=LTR ALIGN=LEFT>Soft drinks, coffees, teas, beers, and ales</TD>
</TR>
<TR>
<TD DIR=LTR ALIGN=RIGHT>2</TD>
<TD DIR=LTR ALIGN=LEFT>Condiments</TD>
<TD DIR=LTR ALIGN=LEFT>Sweet and savory sauces, relishes, spreads, and
seasonings</TD>
</TR>
<TR>
<TD DIR=LTR ALIGN=RIGHT>3</TD>
<TD DIR=LTR ALIGN=LEFT>Confections</TD>
<TD DIR=LTR ALIGN=LEFT>Desserts, candies, and sweet breads</TD>
</TR>
<TR>
<TD DIR=LTR ALIGN=RIGHT>4</TD>
<TD DIR=LTR ALIGN=LEFT>Dairy Products</TD>
<TD DIR=LTR ALIGN=LEFT>Cheeses</TD>
</TR>
<TR>
<TD DIR=LTR ALIGN=RIGHT>5</TD>
<TD DIR=LTR ALIGN=LEFT>Grains/Cereals</TD>
<TD DIR=LTR ALIGN=LEFT>Breads, crackers, pasta, and cereal</TD>
</TR>
<TR>
<TD DIR=LTR ALIGN=RIGHT>6</TD>
<TD DIR=LTR ALIGN=LEFT>Meat/Poultry</TD>
<TD DIR=LTR ALIGN=LEFT>Prepared meats</TD>
</TR>
<TR>
<TD DIR=LTR ALIGN=RIGHT>7</TD>
<TD DIR=LTR ALIGN=LEFT>Produce</TD>
<TD DIR=LTR ALIGN=LEFT>Dried fruit and bean curd</TD>
</TR>
<TR>
<TD DIR=LTR ALIGN=RIGHT>8</TD>
<TD DIR=LTR ALIGN=LEFT>Seafood</TD>
<TD DIR=LTR ALIGN=LEFT>Seaweed and fish</TD>
</TR>
</TABLE>
</BODY>
</HTML>