Applying the same macro to multiple Visio documents

B

bg_ie

Hi,

I have created a macro which allows me to convert some of the
information in my visio documents to text file. The problem is that I
have
dozens of visio files which I need to apply this macro to in order to
create text files for each of these files. Is there an easy way in
which I can apply the macro to all these files? Maybe there is a quick
way of loading a macro into an visio document so that it runs when you
open
the visio file.

Thanks for your help,

Barry.
 
B

bg_ie

John Marshall, MVP skrev:
There is an example of looping through a directory of Visio files at
visio.mvps.org/3rdparty.htm. Look at the second item labeled "Add Shape
Numbers".

John... Visio MVP

Need stencils or ideas? http://visio.mvps.org/3rdparty.htm
Need VBA examples? http://visio.mvps.org/VBA.htm
Visio Wishlist http://visio.mvps.org/wish_list.htm

Cool thanks, but where do I execute this code from? In other words, if
I wanted to do exactly what your doing in this example (add shape
numbers), where would I paste it. How would I execute this code from
within Visio?

Thanks again,

Barry.
 
C

Chris Roth [MVP]

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