Using Powershell it\'s rather easy to call Excel macro\'s from a script, for example with a script like this:
$excel = new-object -comobject excel.applicatio
You can run a macro with arguments like this:
$excel.Run('CreateChart', 'arg1', 'arg2', ...)