Sub createExcel(title As String ,dc As NotesDocumentCollection,description() As String,fieldName() As String)
'***************************************************************************
'title 表名 dc文件集 descripton 栏位描述 fieldname栏位名
'生成excel 報表
'***************************************************************************
Dim rdoc As NotesDocument
Dim ritem As NotesItem
Dim xlApp As Variant
Dim xlsheet As Variant
Dim t As String
Dim j As Integer
Dim row As Integer
Dim col As Integer
Dim s As Integer
Dim maxNO As Integer
Dim tmp As Integer
col=Ubound(description)
Set xlApp = CreateObject("Excel.application")
xlApp.Workbooks.Add
Set xlsheet = xlApp.Workbooks(1).Worksheets(1)
XlApp.Windows(1).DisplayGridlines=True
xls