View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.sdk,microsoft.public.excel.programming
Rob Y Rob Y is offline
external usenet poster
 
Posts: 8
Default launching Excel with a macro to operate on CSV data?

Is it possible to launch Excel with command-line arguments so that it
imports a CSV file and then runs a macro on that file to format the data?

If not possible from the command line, what's the easiest way to do it
programmatically. I want to do this from a WIN32 SDK C program.
Currently, I just use ShellExecute on the CSV file to open it. That
works great. But of course, doesn't do any formatting.

Thanks,
Rob