How to test if a user button is on a menu

D

damezumari

I have added a button to the Tools menu.

CommandBars("Menu Bar").Controls("Tools").Controls("AutoFooter is
On")

How can I test if the user has removed it?

I use Word 2003 and Win2000.

Regards,

Jan Nordgreen
 
K

Klaus Linke

Hi Jan,

You probably need to loop all controls on the Tools menu, and check their
caption.

Greetings,
Klaus
 

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