format excel spreadsheet exported from SQL

  • I created an excel spreadsheet via xp_cmdshell. I would now like to format this into a more user friendly file. Is it possible to use xp_cmdshell to open the file, run a macro that will format it and save it? I'm looking to expand my columns and add some colors. Is there a better way to do this?

  • Is there a better way to do this?

    YES I think so. If you are to do extensive work in Excel like running macros etc

    use VBA ADO and remote DB in Excel.

    /Gosta

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply