If you have never been able to run the script on your development machine, I'd check that your transformer application is registered in your DCOM config tool on the dev machine.
To do this, go to C:\WINNT\system32\ and double click on the application called DCOMCNFG.EXE
From the applications tab, scroll down and see if 'Cognos Transformer Application' exists. If it doesnt, this could be your problem, and you will need to do the following (on your dev server):
1. Navigate to the Start Menu, choose Run, and type 'cmd'
2. In the command window, navigate to your cognos install drive (ie. <drive>:\Program Files\Cognos\cerx\bin)
3. Type autoexe.reg "<drive>:\Program Files\Cognos\cerx\bin\trnsfrmr.exe"
4. Run the DCOM config tool again and check the cognos transformer application has been added.
5. Try running your macro again
Let me know how you go
J