Excel VBA编程中遇见的问题,用Do until RS.EOF ……Loop查找数据量大时效率低

日期:2012-07-13 17:04:56 人气:3

Excel VBA编程中遇见的问题,用Do until RS.EOF ……Loop查找数据量大时效率低

For I = 1 To 300 为什么要指定循环300次?以下是我根据自己的理解稍微改了下代码; 供参考(改变不大) Public RA As String Sub StockBalance() On Error Resume Next Dim CNstring, Qstring As String Dim Row As Integer Dim CONN As ADODB.Connection Dim RS As ADODB.Recordset 
    A+
热门评论