Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-14-2016, 07:46 AM
ClaireLivings ClaireLivings is offline Inserting Only Part of File Name in Word Windows 10 Inserting Only Part of File Name in Word Office 2010 64bit
Novice
Inserting Only Part of File Name in Word
 
Join Date: Apr 2016
Posts: 1
ClaireLivings is on a distinguished road
Default Inserting Only Part of File Name in Word


Hi,
I would like to know how to insert only part of the file name into my work document. I know how to and use the function Quickparts/filename...this gets me part of the way. My file name is for example is "Q123 - New document"
I would like to only see Q123, or anything before the first space and not the " - New document"
Reply With Quote
  #2  
Old 04-14-2016, 08:08 AM
Charles Kenyon Charles Kenyon is offline Inserting Only Part of File Name in Word Windows 8 Inserting Only Part of File Name in Word Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,469
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

You cannot do this with only a field. You could potentially have an AutoOpen macro that inserts the part you want into a document variable and use a DocVariable field to display it in your document. You would want that macro to update the field whenever the document opens.
Reply With Quote
Reply

Tags
insert part of filename

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Playing only a part of a big audio file with the Hipertextual link cethai Word 4 01-03-2015 06:12 AM
Inserting Only Part of File Name in Word Copying a part of a docx file as a separate file officeboy09 Word 6 09-26-2014 05:15 PM
Inserting Only Part of File Name in Word Inserting text from one word file into another based on an excel input jmaxcy Excel 14 11-01-2013 04:07 PM
Inserting text from one word file into another based on an excel input jmaxcy Word 3 11-01-2013 01:26 AM
hey guys, need to edit a certain part of a word file but its greyed out winter83 Word 0 08-17-2010 07:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:41 PM.


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