老师, 以下导出到Excel中后,可不可以指定到导出的当前页面 ?目前一直停在第一张sheet中,谢谢。
Dim flg As New SaveExcelFlags
flg.RowNumber = True
flg.CellStyle = True
ShowAppWindow("RM.xls",5)
Tables("RMDemand").SaveExcel(ProjectPath & "RM\RM.xls",format(Date.now,"yyyyMMddHHmmss") ,flg)
If ShowAppWindow("RM.xls",1) = False Then
Dim Proc As New Process
Proc.File = ProjectPath & "RM\RM.xls"
Proc.Start
End If