![]() |
Writing from Excel to Access DB
I want to be able read rows from a spreadsheet and insert into a MS Access
database. I'm having a problem in just declaring object variables as follows: Dim db As DAO.Database Dim rs As DAO.Recordset I get a compile error on both of these declaration statements. The error message is "User-defined type not defined". Do I have pre-define the "Database" and "Recordset" data types? -- Bob Kaku Email: http://www.majesty.org |
Writing from Excel to Access DB
Use the menu Tools | References to check
Microsoft DAO x.x Object Library. HTH, Merjet |
All times are GMT +1. The time now is 11:50 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com