title: Get parameter input from user in Excel query
body: <p>I have my database in .mdb file and i want to query the data using select query  and the result displayed in excel spread sheet(using Get external data menu) but i need to query the records and show the result based on the input(in where condition) entered by user in specific cells(4 fields). Sometimes i use one or two fields in where condition or sometimes i use 3 fields in where conditions to select the records but the remaining fields will be left blank.</p>
  
  <p>I can write query when the user enter values in all the four fields without leaving blank in any field but i need query for either case of searching.</p>
  
  <p>SELECT * FROM <code>P:\Indexing\Data\Services_Indexed_data.mdb</code>.GAS S_CARD WHERE (S_CARD.HOUSE_NO=?) AND (S_CARD.STREET_NAME=?) AND (S_CARD.SUFFIX=?) AND (S_CARD.FILE_NAME=?) AND (S_CARD.CITY=?)</p>
  
  <p>"?" will be filled when i select the input cell as a parameters from user. Also i need query with LIKE operator in where conditions. Please let me know how to write the query for this. </p>