Not sure if this will help, but if you can generate a string that contains the HTML code I think this will work:
Private Function MakeLinks(sHeading as String, sFooting as String, iMaxMembers as Integer) as String
Dim i as Integer
MakeLinks = sHeading & vbCrLf
For i = 1 to iMaxMembers...