Code to Detect Disabled Items (VBA/Word 2003/SP2)

<font face="Comic Sans MS">Using VBA, is there a way to detect if a startup template has been disabled by Word ? We have a bunch of startup templates and if a few of them become disabled, the user may not realize it. This could cause a slew of other problems. Any ideas? </font face=comic>

Re: Code to Detect Disabled Items (VBA/Word 2003/SP2)

<font face="Comic Sans MS">I had the same idea! Unfortunately, checking for which Templates and Addins are installed doesn't help. I tested it. As soon as one of my Startup templates becomes disabled, the VBA "Auto" Macros in the other startup templates stop working. You can even open VBA and hit Run. It simply stops working.

I'm wondering if I need to create some sort of COM addin for this detection, but I don't know if that will work either. I also have no idea of how to write a COM addin.

Re: Code to Detect Disabled Items (VBA/Word 2003/SP2)

<font face="Comic Sans MS">There is one Startup template in particular that we are trying to determine why it is becoming disabled. This template contains code that searches to see if the user is on our network or not so that it can provide the appropriate toolbar. This can sometimes take a bit of time. We think our users are becoming impatient and Ending Task on Word, which disables the template, but we are not 100% positive. </font face=comic>