Automatically Linking Multiple Shapes

B

BenMcD

Hi all,

I've already posted this question on here, to which I received very helpful
replies. But wondered if I could call on your services and expertise once
again. I updated my old post, but looks like no-one's noticed it. See below...

---------

Unforunately I'm back to ask your advice again- I've cracked getting Visio
to link shapes. It looks at the particular shape, examines a field called
'Parent', takes the name of the parent, locates it then connects the two
together. I can't seem to work out how to get it to connect a shape to
mutliple parents!

My parent field would be as follows:
Parent - SERVER1, SERVER 2, SERVER3

Each entity is followed by a comma and seperated by a space. How do I go
about modifying the code so that it can connect to multiple parents? I can
send the code if required?

Any advice/help you can provide would be greatly appreciated as I've been
struggling for some time!

Thanks again,
Ben
 
D

David Parker

Sorry, I've been away on holiday...
In VBA, you can use the Split() function to create an array of parents, then
iterate the array to connect to multiple parents.
Send me your code direct if you want.
 
B

BenMcD

Thanks David, I've forwarded the code onto your email address, stored in your
profile on here.
 
D

David Parker

nothing has arrived ... davidp at bvisual.net ?

BenMcD said:
Thanks David, I've forwarded the code onto your email address, stored in
your
profile on here.
 

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