Thanks for your help.
Btw, I am working from VB6. When writing to Excel, would I be able to write cell by cell instead of column by column?
I supposed the code below writes column by column.
For i = 0 To 14
oRS.Fields(i).Value = oOrdersRS.Fields(i).Value
Next