acess 导入到excel时出错,不可识别的数据库格式(已解决)
Dim dbs As DatabaseSet dbs = OpenDatabase(App.Path & "\data\电子磅管理.mdb")
If Dir(ExcelPath) <> "" Then
Kill ExcelPath
End If
dbs.Execute "SELECT * INTO [Excel 8.0;DATABASE=" & ExcelPath & "].[Sheet1] FROM " & sTableName
dbs.Close
Set dbs = Nothing
Set dbs = OpenDatabase(App.Path & "\data\电子磅管理.mdb")这句出错了,提示说是不可识别的数据库格式,请问怎么解决?
[[it] 本帖最后由 wangtuan7788 于 2008-5-29 08:49 编辑 [/it]]