Share via

Visio Template Save Path

Anonymous
2012-07-02T18:46:48+00:00

I would like to make a Visio file (in this case, use an existing floor plan document) as a template, and have that template use a "save to" path different from the Vision application.

The end goal is that when I click a button on my MSAccess database that opens the Visio template file, that when I modify it and click the "Save As" button in Visio, it will take me to the correct folder.

I seem to recall (MANY years ago) in VB you could set the path for a database to save default reports to...is there something similar in Visio that I could set using VB that would only set that path when opening the file - leaving the default actions of Visio alone when creating or opening other documents?

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

3 answers

Sort by: Most helpful
  1. Anonymous
    2012-07-03T22:17:05+00:00

    Well, obviously, a template is just a special case of a standard drawing. The code would monitor events from the document and when it sees the appropriate event (beforedocumentsave, beforedocumentsaveas) intercept it and add your own

    http://msdn.microsoft.com/en-us/library/ms427234(v=office.12)

    al

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2012-07-03T16:37:08+00:00

    OK, I was thinking something similar.  Could I embed something in VB in the Visio Template?  If so, what command am I looking for?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-07-03T15:58:28+00:00

    You can't do it in Visio. You can do it in vba and save the vba in the document.

    al

    Was this answer helpful?

    0 comments No comments