[Originally posted by Sudha Ravikumar]

I want to write a word macro with parameters. Like

MyTestMacro(i As Integer)

Then when I call this from command line using winword c:\test.doc /mMyTestMacro

How do i pass the argument for the macro?

Any Help Appreciated,
Sudha