VBA code to enable Regular Expression
I have been writing relatively complex macros with Word 2007 VBA using Regular Expressions. Because I am relatively new to macros, my code has corrupted the Normal Folder numerous times. Each time, I delete the Normal Folder and then restart Word...which generates a new and uncorrupted Normal Folder. But each time I have to enable RegExp again by going to the VBA toolbar and clicking Tools>References>Regular Expressions 5.5. Is there a line of code that I insert at the start of a macro to do this automatically?
Thanks in Advance.
|