Problem - can't insert menu on word start

A

Adam Bartkowski

Hi,
I have following problem: I have a small piece of VBA code, that should
insert a custom menu with one option. It works perfect, if I start DOC
document with double-click. However, when I convert it to DOT, it doesn't
work, neither when I put the file in the user Templates folder, nor in the
StartUp folder of the Office, nor even, if DOT is opened with double-click.
Adding the DOT as Add-In (Tools - Templates and Add-ins) doesn't help.
I have tried both methods I know: with Document_Open / Document_Close in
ThisDocument, as well as AutoOpen / AutoExit in a VBA-module.
I very appreciate any help,
Adam
 
D

Doug Robbins - Word MVP on news.microsoft.com

Use AutoNew

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top