View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
James Ravenswood James Ravenswood is offline
external usenet poster
 
Posts: 143
Default Is there a way to automtically apply macros in a script

On Nov 27, 9:42*am, zigzagdna wrote:
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