Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-25-2022, 07:05 AM
jtm4890 jtm4890 is offline Auto Insert Text from external sources Windows 10 Auto Insert Text from external sources Office 2021
Novice
Auto Insert Text from external sources
 
Join Date: Oct 2022
Posts: 2
jtm4890 is on a distinguished road
Default Auto Insert Text from external sources

Is there any method to insert text but since another .txt or .csv file?



I mean like Fields, something like this:

word file name: Field: Cell-Table or Custom Field



file1 path/file.txt table1/cellA1

file2 path/file.txt Field-in-page-03-row1-column1
Reply With Quote
  #2  
Old 10-25-2022, 06:02 PM
macropod's Avatar
macropod macropod is offline Auto Insert Text from external sources Windows 10 Auto Insert Text from external sources Office 2016
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

You can certainly use Word's Insert|Object>Text from File function to insert content at whatever the current selection might be, it's not at all apparent what you want done with the inserted content. Perhaps you're thinking of something along the lines of a mailmerge? Some clarification of your expectations would help.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-25-2022, 06:54 PM
Guessed's Avatar
Guessed Guessed is offline Auto Insert Text from external sources Windows 10 Auto Insert Text from external sources Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,932
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Are you asking how to insert a complete text file into a specific location in a document?
Or are you asking how to parse a text file to find a specific item to bring it into a defined location in the document.

If it was me, I would start by 'tagging' the target locations in the Word document by inserting Content Controls and either map them to embedded XML fields or use their Title and/or Tag properties to populate them from the text file inputs.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mingle legacy fields and content controls so external program can insert data at bookmarks slmaples Word 10 02-17-2022 12:13 PM
Auto Insert Text from external sources Auto-populating a document pulling data from external doc using a Userform with Checkboxes kateabode Word VBA 10 10-12-2018 06:56 AM
Need to create document that will auto insert text based on parameters parisfranco Word 13 07-25-2017 03:21 PM
The citations in my doc are all static text and not linked to the sources natb Word 4 09-25-2015 08:04 PM
Auto Insert Text from external sources Macros and External Sources TDW1984 Word 2 12-08-2014 05:52 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:41 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