Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-08-2014, 09:57 PM
lblythen lblythen is offline Version number for Word document, automated by VCS Windows XP Version number for Word document, automated by VCS Office 2013
Novice
Version number for Word document, automated by VCS
 
Join Date: Apr 2014
Posts: 3
lblythen is on a distinguished road
Default Version number for Word document, automated by VCS

I work in a multi-editor environment, on documents that must be edited by various versions of Word (2007 - 2013). On most documents we use a version number (e.g. 1.3), which we include:



- in a standard filename pattern, e.g. My document v1.3.docx
- as a custom text property (Version) among the document's Properties
- on the title page,where it's inserted from the custom Version property
- in some cases, in footers (where again it's inserted from Version).

This versioning is manual and relies on good cooperative habits, which causes us problems when those habits break down: versions of the doc get out of sync.

I'd rather use a proper version control system (git, for example), have it impose each version number upon us, and incorporate that number into the document's Version property and filename (using VBA or whatever).

Has anyone done this successfully, and if so how?
Reply With Quote
  #2  
Old 04-08-2014, 10:17 PM
macropod's Avatar
macropod macropod is offline Version number for Word document, automated by VCS Windows 7 32bit Version number for Word document, automated by VCS Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

FWIW, you may be over-managing the issue. You could, for example, use just the filename, coupled with a FILENAME field in the header and/or footer. That would display 'My document v1.3.docx' and would update anytime the document is printed or a print preview is done. A Document_Open macro in the document's template could also be used to update the field anytime the document is opened, without triggering the alerts that a macro in the document itself might do.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-08-2014, 11:10 PM
lblythen lblythen is offline Version number for Word document, automated by VCS Windows XP Version number for Word document, automated by VCS Office 2013
Novice
Version number for Word document, automated by VCS
 
Join Date: Apr 2014
Posts: 3
lblythen is on a distinguished road
Default

Thanks Paul. You may be right, but our aim is to offload versioning onto a VCS and the version number has primacy: we want to assemble the filename in part from it, not extract the version number from the filename.

As background: the VCS goal is important to us. It costs us dearly whenever people squirrel away a document, edit it as a personal copy and email it around: by the time it re-enters the pool of collaborators it's wildly out of sync with other edits, often its filename has changed and no longer matches its cover-page title, its Version property hasn't been updated, and untraceable copies remain scattered from hell to breakfast.

It's a sloppy approach which I know we documenters tolerate, with the increasingly weak excuse that VCS isn't as flexible with binary documents as it is with text. I also know that programmers who defy a VCS regime are howled by their peers into toeing the line.
Reply With Quote
  #4  
Old 04-08-2014, 11:18 PM
macropod's Avatar
macropod macropod is offline Version number for Word document, automated by VCS Windows 7 32bit Version number for Word document, automated by VCS Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

OK, but until you get your VCS implemented and, more importantly, enforced, there's nothing you can do safeguard against "people squirrel away a document, edit it as a personal copy and email it around". How your versioning will be controlled by a VCS really depends on how that system works.

Since you're using Office, you might consider using SharePoint (see http://office.microsoft.com/en-us/wi...010021576.aspx). It may not be the best VCS out there, but it's probably the best supported.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 04-08-2014, 11:24 PM
lblythen lblythen is offline Version number for Word document, automated by VCS Windows XP Version number for Word document, automated by VCS Office 2013
Novice
Version number for Word document, automated by VCS
 
Join Date: Apr 2014
Posts: 3
lblythen is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
OK, but until you get your VCS implemented and, more importantly, enforced, there's nothing you can do safeguard against "people squirrel away a document, edit it as a personal copy and email it around". How your versioning will be controlled by a VCS really depends on how that system works.
Yes, you're dead-right.


Thanks for the SharePoint recommendation. The company used it widely until several years ago but no longer does so - I don't know why.
Reply With Quote
Reply

Tags
"version control", "version number", vcs



Similar Threads
Thread Thread Starter Forum Replies Last Post
Version number for Word document, automated by VCS Word fails to save backup of previous version of saved document musawwir Word 1 11-05-2012 05:20 PM
Word 2010: new document opens as 2007 version DigiCat Word 0 02-29-2012 11:51 AM
Version number for Word document, automated by VCS How do I number the lines in a document? NepalKat Word 3 07-13-2011 06:09 AM
problem opening document in word 2007 version Lavanya Word 1 05-28-2010 03:40 AM
Version number for Word document, automated by VCS Document Version History ChipRivers Word 1 12-22-2008 03:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:15 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft