Document Versioning

Posted on 2011-10-24
Medium Priority
Last Modified: 2012-05-12
I need assistance in making the number shown in the "Word Part" at the top right of this document automatically adjust to reflect the number found at the end of the file name if one is found.

Filename 1.2 would show 1.2 in the top right hand corner of the document.

The file is attached and assistance is greatly appreciated.
Question by:rtod2
  • 3
  • 2
LVL 76

Expert Comment

ID: 37021287
It is possible to display the file name in a field, but it isn't it isn't possible to extract part of the file name and to display it thus, using fields only. You would have to run some VBA code at some point to parse the document name and to display it so.

You may find that a better solution is to suggest a default save name that contains a custom property which keeps the version name.

Author Comment

ID: 37021331
Graham, Thank you!
Can you explain the following further and perhaps send an example?

You said "You may find that a better solution is to suggest a default save name that contains a custom property which keeps the version name."

Sounds awesome!

Author Comment

ID: 37021340
As I understand it.

1. Change name and version in doc.
2. Name and version of file name change when save is pressed.
LVL 76

Accepted Solution

GrahamSkan earned 2000 total points
ID: 37021433
The problem is in understanding  the objective. Do you want the table entry to try to parse the version from the file name when the file is opened?

Note that you could have a document property called something like "version" so that you could then have a field to display the property

Author Comment

ID: 37021639
You suggested an alternative and I was basically saying that was perfect.  My objective is simply to make renaming a file and updating the version information a simple process.

The current process is to rename in the doc and then rename the file to match.  I may be over complicating it.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
This article describes how to use the Send to Mail Recipient command. The instructions apply generally to Office 2007 and later versions, but Microsoft® Word 2013 was used for the specific steps and figures.  What is Send to Mail Recipient? Send…
This video walks the viewer through the process of creating a watermark for their document, customizing it, and saving it for viewing/printing needs.
This video shows where to find the word count, how to display it, and what it breaks down to in Microsoft Word.
Suggested Courses
Course of the Month13 days, 11 hours left to enroll

755 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question