Get directory of the current Visio document

J

John

How do I get the path to the directory where my Visio file
is located?

The command CurDir seems not to return the location of my
Visio file.
 
C

Chris Roth

If you're using VBA, you can always try ThisDocument.Path.

Or Visio document object in general:

Visio.Documents(1).Path
Visio.Documents(1).FullName


--

Hope this helps,

Chris Roth
Visio MVP
visioguy @ extremely warm mail.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top