title: Reference file for accdb file
body: <p>I have access 2010 and the file extension for files created is accdb.
  when i punch the below code from Excel VBA, it says "unrecognized file format"
  I have added reference Microsoft DAO 3.6 object library
  could anyone tell what reference am i actually supposed to add in Excel.</p>
  
  <pre><code>Sub dbinsert()
  Dim DB As DAO.Database
  Dim RS As DAO.Recordset
  Set DB = DAO.OpenDatabase("D:\tblImport.accdb")
  End sub
  </code></pre>