title: SQLite for Excel Support 64-bit Excel
body: <p>I need read data SQLite into Excel. And I found a few solution at (<a href="https://stackoverflow.com/questions/1346979/how-do-i-access-sqlite-from-vba">#1</a>, <a href="https://stackoverflow.com/questions/1630035/whats-the-best-way-to-access-an-sqlite-database-in-microsoft-excel">#2</a>). I choose <code>SQLite for Excel</code> of @Govert. My excel is 64bit version, so i've downloaded and replaced sqlite3.dll(32bit) by sqlite3.dll(64bit) then update the VBA declares:</p>
  
  <p><code>...Declare Function...</code> change to <code>...Declare PtrSafe Function...</code></p>
  
  <p>But I'm still cannot run demo Module1.MyTestSQlite in <code>SQLiteForExcel.xls</code> . And error output in <code>VBE Immediate Window</code>:</p>
  
  <blockquote>
    <p>SQLite3Initialize Error Loading
    C:\Users\davuz\Downloads\SQLiteForExcel-0.7\Distribution\SQLite3_StdCall.dll:
    193  Error Initializing SQLite. Error: 193</p>
  </blockquote>
  
  <p>How to fix sqliteforexcel to run with Excel 64bit?
  Thank for help?</p>