object_TextChanged(ByVal shape As IVShape)

M

Mike

I have a Visio sheet that I am using as the front end of chemical
process simulation. Visio has numbers created from its "Text Tool",
i.e. the big A button on the Standard Tool Bar that are used to display
flow rates.

I would like to change those numbers in Visio and key off a change
event to re-run my simulation. Does anyone know if this is possible or
how?

I've been attempting to use the below sub for a text change event, but
do not know what to use for the "object".

Private Sub object_TextChanged(ByVal shape As IVShape)


-Mike
 
J

junethesecond

As described at "Text_Changed" in the help document, "object" may be
Application, Documents, Pages, ....
You would choose to fit.
 
M

Mike

yes you are correct!

the proper syntax is

Private Sub Document_TextChanged(ByVal shape as IVShape)


thanks!
 

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