Hi I have a batch file that basically uses sqlcmd to export data to a text file weekly (each one is named based on date) Is it possible to run a script that would import this data to excel and then run a macro which would format the data? Thanks Paul