Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VBA and Visio

Status
Not open for further replies.

shrubble

MIS
Jul 23, 2003
300
US
I'm doing a bunch of cookie-cutter network diagrams, and have created the diagram template, without any text (text will change from site to site).

I'v also created a user form to enter the site info into. I have two questions:

1) How do I use VBA to get a handle on an object (a particular router image, for example), so that I can assign text to it?

2) How do I set text in a particular area of the document, without association to an image?

I'm not a newbie to VBA, so I only need the technical stuff.

Thanks for the help!

"I would rather have a free bottle in front of me, than a pre-frontal lobotomy..."

-Shrubble
 
Try to play with the Object Browser (usually the F2 key when in VBE) and the Help files (usually the F1 key with cursor on the desired keyword).

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Yeah- that was the first thing I did, and I got the generic VBA help system. Visio kind of has its own thing going on, I was just hoping that I would get somebody that does this all day.

Thanks anyway

"I would rather have a free bottle in front of me, than a pre-frontal lobotomy..."

-Shrubble
 
Hi shrubble,

I'm afraid I'm not familiar with the Visio Object Model, so can't help you myself, but it might be worth asking in the Visio Forum (Forum172).

Enjoy,
Tony

--------------------------------------------------------------------------------------------
We want to help you; help us to do it by reading this: Before you ask a question.
Excel VBA Training and more Help at [url=http://www.vbaexpress.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top