Query Solved: Please refer to the following thread for details.

http://www.excelforum.com/excel-prog...-database.html

Thanks