Anne Han

看见更大的世界,遇见更好的自己。

摘要: 读取Excel文件并返还数据集RecordSet该方法适用于.xls,.xlsx类型的文件读取Excel文件的Function: 1 '取得数据集 2 Function getRecordSetForExcels(sFilePath As String, _ 3 ... 阅读全文
posted @ 2015-12-16 18:44 AnneHan 阅读(2614) 评论(0) 推荐(1) 编辑
摘要: 获取Excel文件工作表Sheet的名称 1 '产生Excel文档 2 Dim xlapp, xlbook As Object 3 Dim sSheetName As String 4 Set xlapp = CreateObject("Excel.Applicati... 阅读全文
posted @ 2015-12-16 11:42 AnneHan 阅读(2593) 评论(0) 推荐(0) 编辑