I have built an automation that connects to a SQL database, runs a query, launches Excel, writes query results to Excel, closes and saves to a file. This all works except I am not pulling in the header data from the query. Any ideas?
As seen in the image the query has column names. Those column names are not transferring to the excel spreadsheet when it is created.
Any help is greatly appreciated.
