I use the following code to place data from a database into an excel spreadsheet for use in a multi-user VBA application.
Most of the time the data from the query is placed starting in cell C4 and down.
usually the query places the data in the same order it is in the database but
on occasion will switch and place the data that should be in cell C5 into cell C25 and do so for that user only from then on.
Any ideas how to keep the data that is going into the spreadsheet in the order it is in the database?
Order by seems to be more to sort by ascending or descending order?