Visio Guy

Visio Discussions => Programming & Code => Topic started by: dgoogle on November 19, 2013, 02:34:44 AM

Title: Visio 2007 32 bit + Template + Menu bar
Post by: dgoogle on November 19, 2013, 02:34:44 AM
Hi all,
     I have manged to create a Visio template that runs a macro that create a custom menu in the top menu bar.

My issue is that if I open up  that template a second time I end up with a second entry in the top menu bar.

How do I get a macro to test if there is an existing menu with a given name before creating it again ?

cheers,
dg
Title: Re: Visio 2007 32 bit + Template + Menu bar
Post by: Jumpy on November 19, 2013, 07:44:50 AM
Or the other method could be to delete your custom menu when your drawing is closed.