Visio Guy

Visio Discussions => Deployment => Topic started by: aitken on July 14, 2014, 05:35:34 AM

Title: Keyboard shortcuts for macro not working with save options in external file
Post by: aitken on July 14, 2014, 05:35:34 AM
Hi, gurus, please help me with my problem
I want to create macros with macro recorder, assign it to keyboard shortcut and save to external file. When I create macros 3 options of saving option is available:
1) Active document
2) ARROW_M.VSS
3) EPC_M.VSS
When I use save option -   1) Active document, my macros works good, I can run it from menu and keyboard shortcuts.
But when use save options - 2) ARROW_M.VSS , 3) EPC_M.VSS - my macros can run only from menu, it doesn't work through keyboard shortcuts.

So I need the way to save macros in external file, and use it with different workbooks. And also,I need to run my macros through keyboard shortcut.
In Ms Excel, I saved macros in Personal.xlsb for my purposes and everything was good.

I use MS Visio 2010. Thank you for you suggestions ))
Title: Re: Keyboard shortcuts for macro not working with save options in external file
Post by: JuneTheSecond on July 14, 2014, 10:05:08 AM
I think 2) and 3) are protected against saving.
Why do you need to save?
Title: Re: Keyboard shortcuts for macro not working with save options in external file
Post by: Paul Herber on July 14, 2014, 08:08:28 PM
Macros can only be saved within Visio documents, templates or stencils. A stencil would probably be your best option. You can create your own stencil file from the More Shapes menu. There is no equivalent of Excel's personal.xlsb file.

Title: Re: Keyboard shortcuts for macro not working with save options in external file
Post by: Yacine on July 15, 2014, 05:42:15 AM
Hi,
I found a post very similar to your's:
http://visguy.com/vgforum/index.php?topic=5424.0 (http://visguy.com/vgforum/index.php?topic=5424.0)

and some furhter reading here:
http://visguy.com/vgforum/index.php?topic=755.0 (http://visguy.com/vgforum/index.php?topic=755.0)

So basically, you need to keep the shortcuts in the drawing (by starting your drawings from an appropriate template). The code can still be in a stencil.
Title: Re: Keyboard shortcuts for macro not working with save options in external file
Post by: aitken on July 16, 2014, 09:57:48 AM
Thank you , for your replying. I solved my problem. I decided to use a quick access toolbar and Alt + ... keyboard shortcuts.