Thanks Cindy.
That fixed the problem.
Cheers Ian B
"Cindy M." <C.Meister-C[ at ]hispeed.ch> wrote in message news:VA.00001400.0a647cf2[ at ]vistapc...
[Quoted Text] > Hi Ian, > >> As a background I have code which returns the path of a template in the >> "addins" collection. >> This works fine, but to be more specific I only want the path if the >> template is also loaded. >> >> Code snip straight from Help file (Word 2003) >> ~~~~~~ >> If AddIns("Dot1.dot").Installed = True Then _ >> StatusBar = "Dot1.dot is loaded" >> ~~~~~~ >> This returns Error 5941, "The requested member of the collection does not >> exist" >> > Try using the complete file path, rather than docName.extension. > > Cindy Meister > INTER-Solutions, Switzerland > http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005) > http://www.word.mvps.org> > This reply is posted in the Newsgroup; please post any follow question or > reply in the newsgroup and not by e-mail :-) >
|