I don't have Visio in front of me, so this may not be correct, but it
should show the general idea:
Dim aShape as Visio.Shape
dim ipAddr as String
' assign the name IpAddrBox to the text box
' right click the shape, go format, click on special
set aShape = ActivePage.Shapes.Item("IpAddrBox")
ipAddr = aShape.Text
In article
Quote:
> I have created a macro in Visio that executes a Telnet window when
> double clicking on an Ip address.
> What I would like to know is how I can write code that would read the
Ip
> address that is in the text box?
Sent via Deja.com http://www.deja.com/
Before you buy.