#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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] |
#3
|
|||
|
|||
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.
|
#4
|
||||
|
||||
As I already said, no. Word's field codes are much more limited than Excel's formulae.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
Auto update Filename field | Oliver Beirne | Word VBA | 4 | 10-19-2012 03:33 AM |
Use a mail merge Field as the final doc filename | DaveBF | Mail Merge | 1 | 10-22-2011 10:16 PM |