I have over a 100 word documents where I need to insert another word file at the end of each word document.
Is there a script that will perform this batch process so I don't have to open each file and insert the additional word document.
Yes, this can be automated so each document gets the appended file. However, this would automating the opening of the document, and inserting the appending file. You have to open each document. You can not magically add stuff to a document without opening it. But yes, it can be automated.
Nothing yet. I'm not familiar with vb script but I am willing to teach myself to make my life easier. I was hoping someone might know of a script that's available online that I am allowed to use.
Hmmmmm, it would be better if you got the solution youraself. You would understand things much more.
OK, this is a fairly common thing to need.
Try figuring out the steps you need.
1. Have to open each file. OK, that means you need something that will go to a folder, and opening each .Doc file it in.
There are lots of threads here with exactly this question. I know - I've answered a few. Look at the DIR function, or you could use FileSystemObject.
2. Inserting a file at the end of the document, then save it.
This is simple, and you can do this yourself easily. Record a macro doing: opening a document, inserting the file, and then saving it.
Now you have the code to do what you want with ONE file. The next part is to do this with all the files in a folder. Again, you can use the DIR function.
This is not difficult to do. Although...if your documents have different headers and footers, and different Styles, it can get messy. Basically though this is not at all beyond a beginner.
Record the starting macro, look up Dir - either here or in Help. Give it a shot. Post back with problems. We can help. However, we are not a Help Desk and just hand off solutions to people.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.