Adding a version number to a document

K

Kassie

Hi Tigsboy

Yes it is possible. You can manually change the name of the document, e.g.
from Draftv1.xls to Draftv1.1.xls.

Or else, you can use a macro to increment your version number every time you
save it
 
D

dominicb

Good afternoon Tigsboy

You will need a macro to do this for you, but just to put you on th
right track:

Private Sub Workbook_BeforeClose(Cancel As Boolean)
With Range("A1")
.Value = .Value + 1
End With
End Sub

This routine when placed in the ThisWorkbook portion of the VBE wil
increment the value in cell A1 by 1 everytime the workbook is closed

HTH

Dominic
 
Top