Writing Code to Create a Visio Drawing from Data

J

John Marshall, MVP

Open the VBA editor Alt F11

Insert --> Module from the menu

In the window with (General) (Declatarion) in the header bar, cut and paste
the code from the article.

You can then go to the Visio window and run the macro.

John... Visio MVP

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

Hi,

i´ve found an article that is a excelent model (in a small scale) for
what i need to do with Database and Visio. But it´s not a step-by-step
document, i ´ve never worked with VBA and i´d like to get some help
in how can i make this example work....

http://msdn.microsoft.com/library/d...ntegrating_Data_with_A_Visio_Solution_370.asp

Thank you!!
 
M

mariacardoso

Thank you John...

I still have a problem in "InitData"....
'Read data.
InitData arrNetData

How should i save the table in Access?
I did not understand how in this program the Data in the table would be
read...

Sorry for so baby-questoins... And thank you on more time!
 

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