Add a version number to a visio file

Started by Gomez, November 06, 2017, 12:04:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gomez

Hello,

i have a question about visio 2007.

I create a visio file which will be edited by many persons over a longer time.
To evade version problems in the future (like someone uses not the newest version of my file) i want to insert a version tag on every drawing page of my file.
Is there a way to create a global variable which contains the Versionnumber? (something like "2017.01")
If I update the file I just want to change the global variable and not the textfield on every drawing page (they should always show the same number as the global variable).

I hope you can understand what i'm trying to do.


Thanks,

Gomez

Paul Herber

Yes, use the Document shapesheet to add either a User-defined row or a Custom Properties row. These also exist for each page and each sheet so ensure you get the Document level.

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

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

Gomez

I' ve added a User-defined row to the document shapesheet but a cant use the Value of this row.
As I unterstand it, I have to insert a field and choose than the category "User-defined Cells", but there is not the cell I added to the document shapesheet.
I'm adding the field to a process shape which is in a drawing page.

Paul Herber

I've attached a file. I've added two document cells, one in the Custom Properties and one in the User-defined cells. The document contains two shapes, one has a field to the Custom Properties, one to the User-defined cell.
The Insert Field dialog doesn't offer you the Document fields so you have to know or work out the syntax.
Electronic and Electrical engineering, business and software stencils for Visio -

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

Gomez

Thank you very mutch, this works perfectly!



Paul Herber

The cells need formulae in the form
=TheDoc!User.Version
or
=TheDoc!Prop.Version
Electronic and Electrical engineering, business and software stencils for Visio -

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