Share via

Visio add-in

Anonymous
2017-02-27T15:14:03+00:00

I would like to have my users open any Visio file, see a menu item for a tool I created, and run the code for that tool. I created an XLAM file with my VBA code, and put it in a folder--and set the Options Advanced File Locations ADD-INS to that folder. I associated a ribbon file with that XLAM. But Visio doesnt recognize that type add in file. I dont know how to make an appropriate Visio Add-in file with my VBA code, and then associate a ribbon with that. (vsl? exe?)

Appreciate guidance.

Also, one more question....why cant i find a simple example of how to have the focus on one Visio file, and via VBA code, set the focus to another Visio file? web examples seem to only show ADDING a window and moving to that. Not just moving back and forth between windows that already exist. Thanks!

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2017-02-27T20:11:32+00:00

    Hi,

    But Visio doesnt recognize that type add in file. I dont know how to make an appropriate Visio Add-in file with my VBA code, and then associate a ribbon with that. (vsl? exe?)

    Appreciate guidance.

    Also, one more question....why cant i find a simple example of how to have the focus on one Visio file, and via VBA code, set the focus to another Visio file? web examples seem to only show ADDING a window and moving to that. Not just moving back and forth between windows that already exist. Thanks!

    You are right, Visio dont provide ability use add-ins like XLAM. 

    vsl is old technology, not sure that it support ribbon. 

    You can create visio add-ins with Visual Studio, easy way use special add-in template

    Was this answer helpful?

    0 comments No comments