Auto Load custom tool bar menu upon start up

D

DrWho

Hi all,
having got some code (that works) to create a custom toolbar menu, the
custom menu is only added when macros are run manually.

Does anybody know how to cutomise Visio 2003 so that the macro is run upon
starting up Visio? Or at least when firing up a particular visio document
i.e. if you create a new Process Engineering document in Visio 2003 then a
Process Engineering Menu is added to the toolbar. I would like to achieve
the same thing but using the macro i have defined(my own custom menu bar).

Please any help on this would be greatly appreciated... cheers!
 
C

Crack

try starting the macro from the Thisdocument_DocumentOpened or
Thisdocument_Runmode entered method.

example:
Private Sub Document_DocumentOpened(ByVal doc As IVDocument)
"startmacro"
End Sub
 

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