We had the WM-97 virus here, and being a good employee I reported it and sent a copy to our systems department. But I didn't keep a copy for myself.

Part of what the virus did was write modules to other open documents. I am working on a macro now where I want to add a command button (easy enough) and add code behind it. But I can't figure out how to add code to a module at runtime.

Any ideas? Or does anyone have a copy of the macro virus out there? Thanks for your help!