Solved

How can I have Word automatically track and save different versions of a Doc

Posted on 2013-06-24
5
161 Views
Last Modified: 2015-01-23
I understand and have used how to track changes in a doc by using the track change button.  This is very helpful in accepting and reviewing changes.  I want to extend this feature to versioning.  

Use case:
when I or someone else makes a change to a document it will not only track it but save it as test_1.docx.  Then, when someone else makes a change or myself makes a change to a doc i have been editing it saves as test_2.docx etc...

Yes, i can do this manually before i make a change but i am sure somewhere there is versioning built into word which performs this feature.

this way i can go back and forth between versions, do compares to see changes from the original.
0
Comment
Question by:YankeeFan03
5 Comments
 
LVL 16

Accepted Solution

by:
l33tf0b earned 250 total points
ID: 39272446
Word does not have such capabilities.  It has track changes as you mentioned before and autorecovery - which is the version capability that word mentions.

You would need to implement some 3rd party app for this.

Things that come to mind are DMS - document managing systems such as Interwoven iManage or Hummingbird Docs Management.  I use to work lawfirms and that's what they'd use to version docs.  Not sure what your budget looks like but you may want to look at other 3rd party plugins - i haven't used them before so I can't give much insights.
0
 
LVL 76

Assisted Solution

by:GrahamSkan
GrahamSkan earned 250 total points
ID: 39272879
You try this macro in a code module in the document or document's template. The name (FileSave) must be kept for it to work.

Note that if you put it in the Normal template, it will act on nearly all documents, so if it's in that template, there would have to be some other way of distinguishing the documents to receive the treatment.
Sub FileSave()
    Dim strPath As String
    Dim strFileName As String
    Dim iVersion As Integer
    Dim strFullName As String
    Dim strStem As String
    Dim strName As String
    Dim strParts() As String
    Dim strExtension As String
    
    strPath = ActiveDocument.Path
    strFileName = ActiveDocument.Name
    strParts() = Split(strFileName, ".")
    strStem = strParts(0)
    strExtension = strParts(1)
    strParts = Split(strStem, "_")
    strName = strParts(0)
    If UBound(strParts) > 0 Then
        iVersion = strParts(UBound(strParts))
    Else
        ReDim Preserve strParts(1)
    End If
    iVersion = iVersion + 1
    strParts(UBound(strParts)) = CStr(iVersion)
    strStem = Join(strParts, "_")
    strFullName = strPath & "\" & strStem & "." & strExtension
    ActiveDocument.SaveAs strFullName
End Sub

Open in new window

0
 

Author Comment

by:YankeeFan03
ID: 39285620
None of the answers is practical for me. Thanks anyway.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

760 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

20 Experts available now in Live!

Get 1:1 Help Now