参考:http://www.foxtable.com/mobilehelp/scr/0066.htm
或者
With wb.AddTable("","Table1")
.Alternate = 3
Dim nms() As String = {"序号","报备人","用户姓名","楼盘","单元房号","客户等级","用户电话","用户微信","户型" ,"状态"}
.Head.AddRow(nms)
Dim idx As Integer = 1
For Each r As DataRow In DataTables("终端用户").sqlSelect("[部门] = '" & bm & "'", "", "日期 Desc")
With .Body.AddRow(idx,r("报备人"),r("用户姓名"),r("楼盘"),r("单元房号"),r("客户等级"),"<a href='tel:" & r("用户电话") & "'>" & r("用户电话") & "</a>",r("用户微信"),r("户型"),r("状态"))
'.AddCell(Format(r("日期"),"MM月dd日"))
End With
idx+= 1
Next
End With