News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

For 100 existing process flows,how to ensure one macro is accessible for all

Started by rsrikanth83, November 30, 2023, 06:15:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rsrikanth83

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.


Yacine

It would be useful to see the macro. There are so many reasons for a macro not to run as wanted.
Yacine

wapperdude

Visio 2019 Pro

Paul Herber

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.
Electronic and Electrical engineering, business and software stencils for Visio -

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

Nikolay

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.

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 236 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1102KB.
Tokens: post-login.
Cache hits: 13: 0.00199s for 26,741 bytes (show)
Cache misses: 3: (show)
Queries used: 16.

[Show Queries]