On Wed, 2 May 2007 13:17:08 +0100, "Jonathan West" <jwest[ at ]mvps.org> wrote:
[Quoted Text] >I suspect the code is not running because the document_new() and >document_open() events don't run when you load a template as an add-in. >Instead place the code in a macro called AutoExec. > >If you need to remove the menu when the add-in is unloaded, place that code >in a macro called AutoExit. > >But I would probably recommend that you create the menu in the add-in using >Tools Customize, so it simply becaomes available to the user when the add-in >is loaded. There is great scope for comprehensively messing up the menu >system with code that makes changes to the menus.
Tks Jonathan. I've use the customise option in the past but have always had "issues" with menus being duplicated (any suggestions herer?). I also have clients running Acrobat add-ins and this has caused me grief as well. I'm looking at using code as a comparison and to be able to give me options in the future.
Thanks again for the fix and the suggestion.
Cheers Shane
|