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
 
Top