This post outlines how to access and use the upcoming Visio tools to be posted shortly.
General Concept
The code for the tools is available from a template that you can download from here. The idea is to create your own template and copy the published code into into it, then assign each tool to a shortcut key so that it can be quickly accessed.I have chosen this method to distribute the code so that it can be inspected to show that it is safe to use, and so that it can be used as a learning aid. This is a bare bones approach that is consistent with the approach used for the Word tools and give the user the best control of the process.
Keeping the code in the template means that there is no code in each of the documents created. Other users of the document are therefore not impacted by the tools.
The downside is that you will probably need several copies of the code in each of the templates that you use, and need to update each when new code is issued.
Copying the code is quite simple and only takes a minute or two.
Creating a New Template
To create a template, take a diagram or start with a blank diagram and use the save as dialogue to create save the document as a "Visio Macro-Enabled Template" (*.vstm)
I recommend taking the time to get this template just right for the diagram you are working on. For example, get the default connector correct so you don't have to change format each time, get the view and layout correct and open the usual stencils so these are always at hand for any new diagrams.
Download the Code
Down load the tools template form here. Then open the downloaded template.Adding Code to the Template
Ensure that the Developer tab is visible. See the entry at the bottom of the post to do this.
Now open VBA and create a new module.
















