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?
Any help is greatly appreciated.