Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: MS Word. Extracting text from a field

11 May 2012   #1

Windows 7 32 bit
MS Word. Extracting text from a field

Hi guys

Is it possible to extract and display part of a field?

If I insert "{FILENAME \* Upper\* MERGEFORMAT}" into the document footer it returns the entire filename - ie "DOC2072XB" in this instance.

The way the filename is constructed is "DOC2072" is the document reference and "XB" is it's revision. I'd like to be able to display these two items separately.

I tried
"{=left(FILENAME,7) \* Upper\* MERGEFORMAT}" and
"{=right(FILENAME,2) \* Upper\* MERGEFORMAT}"
as a wild guess but it doesn't work!

If I've explained what I want to do properly, and it makes sense, does anyone know if what I want to do it possible? If so, how?


My System SpecsSystem Spec


 MS Word. Extracting text from a field

Thread Tools

Similar help and support threads for2: MS Word. Extracting text from a field
Thread Forum
Date calculation using Word 2010 table/field Syntax Error Microsoft Office
Solved Text wrapping in Word 2010 Microsoft Office
Office 2007 Word printing deleted text over new text Microsoft Office
Solved Word 2010 - Text Box Microsoft Office
Word 2010 - Text Condensation Microsoft Office
Forms/Word 2007/Display entire field length Microsoft Office
how to add comments in to word text Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:10 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33