Is there a way to automtically apply macros in a script

Z

zigzagdna

I have a program which genartes csv files. This program is run from
Windows Task Scheuder at ceratin times of the day.
I apply macros (stored in presonal.xlsb) by manually opening the csv
files, then saving the formatted files as .xls file. Is
there a way to do the same using a command which I can place in the
script after csv file has been genarted. If yes, what is the command.

Thanks a lot.
 
J

James Ravenswood

I have a program which genartes csv files. This program is run from
Windows Task Scheuder at ceratin times of the day.
 I apply macros  (stored in presonal.xlsb) by manually opening the csv
files, then saving the formatted  files as .xls file.  Is
there a way to do the same using a command which I can place in the
script after csv file has been genarted. If yes, what is the command.

Thanks a lot.

The script command depends on the scripting language. In a .bat file:

echo on
start C:\TestFolder\Book1.csv
pause
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top