copy command button to a new page but keep the macro that is calling

Started by kiler40, July 16, 2014, 02:59:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

kiler40

Hello People !
I have a command button on the page that calls a macro.
My question is how to copy the button on a new page but not to need to assign the macro again to it but to remember the first assigning.

I know i can create a shape and add event on double click to call the macro in the shape sheet, so after coping it remembers the assigning, but the thing is that this double click is not really nice. I want to use a single click (the macro is called lots of times :) )

And one more thing - when i copy a command button on new page i need click several times before it gets active. Why is that ?
Any ideas ?

thanks in advance !

Paul Herber

Visio doesn't do event handling on a singl;e click, if it did it would be very difficult to select the shape.
Might be an idea to attach an example showing what is happening.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

Yacine

Hi Andrei,
it seems like you are trying to use visio in a "non-typical" way  ;) .
I'd propose that you put that macro in a smarticon. Depending on your visio version, there are different methods to set it up.
The code could be stored in the template.
Yacine