Open file dialogue for user to open stencil from VBA/VB.NET

Started by Visisthebest, June 25, 2021, 04:26:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Visisthebest

Running VBA from a stencil this wasn't an issue obviously, but from an add-in I can run in to the situation that a user does not have a specific stencil open as the code is in the add-in not in the stencil.

What is the best way to open a file dialogue to allow the user to open a stencil? (after which I can recheck whether the proper stencil is now loaded)

I searched the forum for "Open file dialogue" but couldn't really find an answer to this question, thank you for your help!
Visio 2021 Professional

Paul Herber

Electronic and Electrical engineering, business and software stencils for Visio -

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

Visisthebest

Visio 2021 Professional