I have been looking for a while to export a crosstab query from Access to an existing Excel spreadsheet. The data in the query is very dynamic as is the column count.
I did find code on the net that will do exactly what I am looking to do. The only issue is that it does not transfer the column titles to the spreadsheet. I cannot post the code here as it is not allowed. I can post the link to the code however. The code I am using is the second code found on this page: http://access.mvps.org/access/modules/mdl0035.htm.
Would it be possible to get some help with adding the column headers to this code? I do not know what to change. If I can get this answered this code works perfect for me.
Thanks,
Murdockj