摘要: 几个小知识: 1、设置单元格格式: sht.Cells(4, pCol).NumberFormatLocal = "yyyy-mm-dd hh:mm:ss" 其中文本格式为:"@",常规格式为:G/通用格式 2、设置单元格为自动列宽或自动高度: #1、VBA自动生... 阅读全文
posted @ 2015-06-29 16:53 心猿何处 阅读(1060) 评论(0) 推荐(0)
摘要: VBA连接Oracle需要添加引用:之后,连接字符串为:Provider = MSDAORA.1;Password=******;User ID=XXXXXXX;Data Source=DBID;Persist Security Info=True然后使用ado的标准封装使用即可,1、使用ADO.C... 阅读全文
posted @ 2015-06-29 16:33 心猿何处 阅读(10660) 评论(0) 推荐(0)