CALLTHIS?

D

Dennis King

I'm using the CALLTHIS function in the EventDblClick cell
and it seems that only procedures in code modules can be
invoked. Is there a way to invoke a form or class module
by double clicking on a shape?
 
G

GMorris

Try using RUNADDON. I've been able to execute immediate statments with it,
like:

"=RUNADDON("frmMain.Show")" or similar.

I even got Visio to return a value from a function using this method, but
it's pretty convoluted the way you have to "jump through hoops". What would
be nice is to be able to run functions straight from a cell, like Excel,
but, at least in Visio 5, it's not that easy.
 
A

al

have you considered calling a procedure which simple is a
form show i.e.
private sub subMyProcedure
myform.show
end sub
 

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