create a visio diagram using an excel spredsheet

Z

zlata

Hi,
I have an excel spreadsheet with more than 1000 lines. Basically the
spreadheet shows all the connections between my network elements, i.e.:Site A
connects to Site B with a Capacity C.
I want to make a visio drawing showing all the network connections between
all the sites and show also the capacity for each connection. The site will
be represented by boxes and the connections will be represented by lines with
a text showing the capacity.
Is there anyway that I can automate this in visio using my excel spreadheet.
I'm not very familiar with visio. I only do simple diagrams manually. If I
do this task manually, it will take me a long time so I would really
appreciate it if you can provide me tips on how to automate this.
Thanks
 
C

Chris Roth [Visio MVP]

Hi Goldie,

If you don't mind writing a bit of VBA or Visual Basic code, these
articles discuss generating diagrams programmatically, and connecting
shapes together using code:

Create Visio Flowcharts Programmatically
http://www.visguy.com/2006/09/13/create-visio-flowcharts-programmatically/

Connect All Shapes to Each Other
http://www.visguy.com/2008/03/17/connect-all-shapes-to-each-other/

The articles have code samples that aren't too complicated, so I hope
they are a good place for you to start.

--
Hope this helps,

Chris Roth
Visio MVP


Visio Guy: Smart Graphics for Visual People

Articles: http://www.visguy.com
Shapes: http://www.visguy.com/shapes
Dev: http://www.visguy.com/category/development/
Forum: http://www.viguy.com/vgforum
 

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