View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
José José is offline
external usenet poster
 
Posts: 4
Default Open database from Excel

I have a module where I open an access97 database and it works fine. Im
using the following code:

Dim DB As DAO.Database, RS As DAO.Recordset, strSQL As String
Set DB = DBEngine(0).OpenDatabase("C:\db1.mde", False, False)

At the moment I covert this database to access2002 and this code doesnt
work. Whats happened?
Please I need help
José