Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-15-2014, 01:34 PM
palanski palanski is offline Version number from document filename via field code Windows 7 32bit Version number from document filename via field code Office 2010 32bit
Novice
Version number from document filename via field code
 
Join Date: Oct 2014
Posts: 2
palanski is on a distinguished road
Default Version number from document filename via field code

Hello!

I deal with document files all day that have a header with pertinent information (Date of last save, file path, last saved by, etc.). All file names are named with a similar convention: FILENAME-E-v1.docx, FILENAME-E-v2.docx, etc.

Is there any way for me to extract the v1, v2, etc. from the filename and update accordingly?

Thanks a lot for any insight.

KP
Reply With Quote
  #2  
Old 10-15-2014, 01:43 PM
macropod's Avatar
macropod macropod is offline Version number from document filename via field code Windows 7 64bit Version number from document filename via field code Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

The best you can do with Word fields is to use a FILENAME field to display the filename (i.e. FILENAME-E-v1.docx) - you can't display just the version #.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-15-2014, 01:45 PM
palanski palanski is offline Version number from document filename via field code Windows 7 32bit Version number from document filename via field code Office 2010 32bit
Novice
Version number from document filename via field code
 
Join Date: Oct 2014
Posts: 2
palanski is on a distinguished road
Default

So there's no way of doing an excel-style formula using the field codes? I can think of a whole bunch of ways of operating on a bit of text using excel, but sadly this doesn't seem to be the case with field codes.
Reply With Quote
  #4  
Old 10-15-2014, 01:54 PM
macropod's Avatar
macropod macropod is offline Version number from document filename via field code Windows 7 64bit Version number from document filename via field code Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
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

As I already said, no. Word's field codes are much more limited than Excel's formulae.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Version number from document filename via field code How can I save a Word Document as a PDF file with a merged field filename? kp2009 Word VBA 5 08-27-2015 11:45 PM
Save Filename based on Text Field madcar86 Word VBA 8 10-19-2014 12:53 AM
Version number for Word document, automated by VCS lblythen Word 4 04-08-2014 11:24 PM
Version number from document filename via field code Auto update Filename field Oliver Beirne Word VBA 4 10-19-2012 03:33 AM
Version number from document filename via field code Use a mail merge Field as the final doc filename DaveBF Mail Merge 1 10-22-2011 10:16 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:59 PM.


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