我在读取excel中的数据时,发现一个很怪的现象:
假如表中内容为:
index     number
001        22601
002        22602我用程序读出的数据为:NULL    NULL
001     22601
002     22602我的程序为:
Set Db = OpenDatabase("C:\Temp\Book1.xls",False, True, "Excel 8.0;HDR=NO;")
Set Rs = Db.OpenRecordset("Sheet1$")Do While Not Rs.EOF
   Debug.Print Rs(0),
   Debug.print rs(1) 
   Rs.MoveNext
Loopwhy?