摘要: 在用ADO读取Excel文件数据,常容易发生丢失数据的现象。例如,用ADO打开一个Excel文件的代码如下:Dim objConn As ADODB.Connection Dim objRS As ADODB.Recordset Dim objRSTable As ADODB.Recordset Set objConn = New ADODB.Connection Set objRS = New ADODB.Recordset objRS.CursorLocation = adUseClient With objConn .Provider = "Microsoft.Jet.OLED 阅读全文
posted @ 2012-02-24 16:27 testerZH 阅读(356) 评论(0) 推荐(0) 编辑