Macro to find a keyword and replace it by inserting the content of another Word document
Hello everyone
I am working on a service portfolio, and I need to insert descriptions of the products I have in other Word documents that are saved in a folder. However, this portfolio changes depending on the type of client. To speed up the work, I have come up with the idea of placing a keyword in the main document (having the same name as the documents with the descriptions I need to insert). Through a macro, the goal is to replace the keyword and insert the content of the product descriptions (insert the Word documents) in its place. Here's a simple example:
01.Apple.Description
04.Orange.Description
10.Pineapple.Description
The keywords would be the names of the documents with the descriptions that I would need to insert. The idea is that the macro searches for the name within the folder and inserts the corresponding Word document into the main document.
Thank you in advance
|