I want to write a Word Macro that will process a text file (i.e generate a nice looking report)

Once I have this Macro written, can I call it from my webpage in ASP??

Thanks!!