Visio Guy

Visio Discussions => Deployment => Topic started by: rsrikanth83 on November 30, 2023, 06:15:50 PM

Title: For 100 existing process flows,how to ensure one macro is accessible for all
Post by: rsrikanth83 on November 30, 2023, 06:15:50 PM
For 100 existing process flows, how to ensure one macro is accessible for all the flows.

Context:
1. I have 100 existing process flows, where I need to add 3 custom layers

2. When I create a macro in visio, I get option to save either in Active Document or XFUNC_U.vssx.

3. When I save in XFUNC_U.vssx in visio # 1 and try to execute the macro in visio # 2, I dont see it appearing.

Request:
1. What am I missing and what should I do to ensure a macro created can be executed in all the 100 process flows.

Thank you,
Srikanth.

Title: Re: For 100 existing process flows,how to ensure one macro is accessible for all
Post by: Yacine on November 30, 2023, 07:38:29 PM
It would be useful to see the macro. There are so many reasons for a macro not to run as wanted.
Title: Re: For 100 existing process flows,how to ensure one macro is accessible for all
Post by: wapperdude on December 01, 2023, 03:00:28 AM
Is each process a separate file?
Title: Re: For 100 existing process flows,how to ensure one macro is accessible for all
Post by: Paul Herber on December 01, 2023, 08:14:58 AM
Put the code in a stencil, but not XFUNC_U.vssx, and you will need to use a macro-enabled stencil with the extension .vssm.
Title: Re: For 100 existing process flows,how to ensure one macro is accessible for all
Post by: Nikolay on December 01, 2023, 10:46:41 AM
Sounds like an improvement for the Super Utilities :)

Something like this:
http://visguy.com/vgforum/index.php?topic=5238.0

Not necessarily online, just some "snippet" storage, callable with a key combination (or a ribbon button)
Without having to put those in a stencil.