#1
|
|||
|
|||
Insert text from file for ALL files in a folder
I've searched the forum but could not find this question/answer, so I apologize if it is a repeat...
I typically have batches of a few hundred word files that I need to combine into a single file. I use the 'insert text from file' function on the ribbon but this only tends to do 50ish files at a time, meaning I have to do it over and over to get them all. Is there a way to write some sort of script that would run the function multiple times until it has processed ALL files in a given folder? |
#2
|
||||
|
||||
Importing word docs is no different to importing text files so this code by Macropod would work with minimal alterations to change the filename suffix
https://www.msofficeforums.com/word-...data-into.html
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rename Files in a Folder and Overwrite if File Exists | Jayay159 | Word VBA | 3 | 10-20-2021 11:48 PM |
Replace text in several word 2010 files across a folder or collection | Esgrimidor | Word | 15 | 02-01-2021 11:37 AM |
Extract Document Property and insert it into the same document, for many files in a folder | MisrIdley | Word VBA | 1 | 12-07-2017 12:41 PM |
Macro to change all text color to black in all docx files in a selected folder | joewoods | Word VBA | 13 | 05-16-2016 06:29 PM |
VBA batch file to insert text at end of 50 files slow, 90% CPU usage | equalizer88 | Word VBA | 3 | 08-16-2015 04:56 PM |