Solved

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

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
This article will show you how to use shortcut menus in the Access run-time environment.
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

810 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