Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-06-2023, 07:42 AM
alejandro21805 alejandro21805 is offline Macro to find a keyword and replace it by inserting the content of another Word document Windows 10 Macro to find a keyword and replace it by inserting the content of another Word document Office 2019
Novice
Macro to find a keyword and replace it by inserting the content of another Word document
 
Join Date: Sep 2023
Posts: 3
alejandro21805 is on a distinguished road
Default 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
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to find a keyword and replace it by inserting the content of another Word document Find and Replace whole folder content - Word files Leslie Word VBA 7 03-01-2020 08:58 PM
Find and Replace Numbers Macro VBA in Microsoft Word Yotem189 Word VBA 3 09-20-2018 05:55 AM
Macro to find a keyword and replace it by inserting the content of another Word document Finding the graphics and inserting the keyword Ajay2506 Word VBA 4 06-28-2016 05:34 AM
Macro to find a keyword and replace it by inserting the content of another Word document Need Macro for Find and Replace, Inserting logo in Ms-Word. Aswinraj Word VBA 1 06-05-2016 04:33 PM
Macro to find a keyword and replace it by inserting the content of another Word document Word VBA Macro to Find and Replace based on the Alt Text of an Image bennymc Word VBA 1 01-27-2014 04:23 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:22 AM.


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