Why =RUNADDON("msgbox ""hallo""") doesn't work?

M

Mosca

Why =RUNADDON("msgbox ""hallo""") in TheText Event Cell doesn't work when I
go to change text of the shape?

Thanks 1000
Mosca
 
C

Chris Roth [ Visio MVP ]

Which version of Visio are you using? "In-line" VBA code in ShapeSheet cells
stopped working in Visio 2002, due to security concerns.

More here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvisio02/html/vis_runadd.asp

From the horse's mouth:

Note The changes made in Visio 2002 prevent the RUNADDON function from
accepting arbitrary VBA code as an argument, or accepting calls to
procedures with arguments.

--

Hope this helps,

Chris Roth
Visio MVP
 

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