title: Connecting Excel VBA to oracle DB using 'ODBC' (continue of 37339682)
body: <p>This question is a continuation of question 37339682: <a href="https://stackoverflow.com/questions/37339682/">Connecting Excel VBA to oracle DB using &#39;ODBC&#39;</a></p>
  
  <p>In the above question, there is a step by step guide to connect Excel to ODBC. (Oracle database) I have successful connected to the Oracle database and retrieve a table.</p>
  
  <p>My questions are: 
  (1) How to write Excel VBA code, such that it can read SQL query from a cell, and return the SQL query result in a table. I guess I need to setup a "database object" in the Excel VBA code.</p>
  
  <p>(2) If such code are to be performed in Microsoft Access. How different would it be?</p>