Solved

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

Posted on 2013-06-24
5
170 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

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…
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

863 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

25 Experts available now in Live!

Get 1:1 Help Now