Removing a macro Template
I currently have a autoOpen macro that is fired from VB.net and I really only need this macro to be run once IE not when the document is opened at a later date. I would normally stick the code in a differant macro procedure and just run it once but the problem is that I can only fire the Auto marcros form VB.net.
Basically I need some VBA code that will either allow the macro to only run once, or remove the template containing the macro from the document after it has been run. I think I can do something of this sort with ActiveDocument.VBProject.VBComponents.Remove but I just cant quite seem to get it right, help n e 1...........