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
 
Top