Ever

Never
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  Excel & Crystal

Excel VBA & Crystal Report
摘要:Read from SQL Server: 1 Sub Read_SQL() 2 3 Dim i As Integer, j As Integer, sht As Worksheet 4 Dim cn As New ADODB.Connection 5 Dim rs As New ADODB.Recordset '定义记录集对象,保存数据表 6 ... 阅读全文

posted @ 2008-02-02 16:47 EverTom 阅读(590) 评论(1) 推荐(0)

摘要:You can insert a button in the Excel with function below: 1 Sub Excel_To_SQL() '定义过程名称 2 3 Dim i As Integer, j As Integer, sht As Worksheet 'i,j为整数变量;sht 为excel工作表对象变量,指向某一工作表 4 D... 阅读全文

posted @ 2008-02-02 16:37 EverTom 阅读(545) 评论(0) 推荐(0)