Solved

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

Posted on 2013-06-24
5
200 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article describes a serious pitfall that can happen when deleting shapes using VBA.
This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

726 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