比如:
http://www.foxtable.com/webhelp/topics/1145.htm
for i as integer = 0 to tables("表A").rows.count
tables("表A").position = i
Dim Book As New XLS.Book(ProjectPath & "Attachments\出库单.xls")
Dim fl As String = ProjectPath & "Reports\" & tables("表A").rows(i)("姓名") & ".xls"
Book.Build() '生成细节区
Book.Save(fl) '保存工作簿
Dim Proc As New Process '打开工作簿
Proc.File = fl
Proc.Start()
next