I have written an SQL query from an Oracle database to extract 48 values (24 per column) and place them into an Excel spreadsheet into 2 adjacent columns. It is working. However, it is slow. When I run the script in debug mode, it slows down when I begin to output the data (takes approximately 30 seconds). I am a novice SQLPlus and VBA user. Any suggestions on how to speed up the output up would be appreciated. I have attached a snippet of the code and indicated where the slow down begins. Also, if you provide a suggestion involving the query, please provide an explanation. I tried an Inner join but it gives me an Oracle 00923 error. The Oracle version is 11g. Thanks for your help.