Document Versioning

Posted on 2011-10-24
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
    LVL 76

    Expert Comment

    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

    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

    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

    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

    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.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
    Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
    This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
    Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

    794 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

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now