Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
Is it possible to add a version number to a workbook on saving and closing
|
#2
![]() |
|||
|
|||
![]()
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 -- ve_2nd_at. Randburg, Gauteng, South Africa "Tigsboy" wrote: Is it possible to add a version number to a workbook on saving and closing |
#3
![]() |
|||
|
|||
![]() Good afternoon Tigsboy You will need a macro to do this for you, but just to put you on the 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 will increment the value in cell A1 by 1 everytime the workbook is closed HTH DominicB -- dominicb ------------------------------------------------------------------------ dominicb's Profile: http://www.excelforum.com/member.php...o&userid=18932 View this thread: http://www.excelforum.com/showthread...hreadid=388929 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Seed numbers for random number generation, uniform distribution | Excel Discussion (Misc queries) | |||
How do I activate Document Version management in Excel just like . | Excel Discussion (Misc queries) | |||
duplicate number | Excel Discussion (Misc queries) | |||
How to embed Word document into Excel and retain sizing, formatti. | Excel Discussion (Misc queries) | |||
Random Number Questions | Excel Worksheet Functions |