Autoexec macro

W

Wayne Erfling

How do I create an "Autoexec" macro in Visio, to be run whenever Visio
starts (not just when I open a particular document)?

Visio has the same "Viewing Toolbar" problem as the other MS Office
applications (Viewing toolbar displays whenever you start up MS Word or
Excel or Visio, no matter how many times you turn it off).

This works in MS Word:

'Add the following routine to the normal.dot file

Sub AutoExec()
'
' AutoExec Macro
' Macro created 4/21/2005 by Wayne Erfling
'

With CommandBars("Reviewing")
.Visible = False
End With

End Sub

....but I don't know what the equivalent of the "normal.dot" file is in
Visio. Do I save a Visio document to the "startup" folder?

Or a .vsi file? I've found references to .vsi but no detailed information.
 

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