![]() |
|
#1
|
|||
|
|||
![]()
Hello all,
I would like to accomplish the following: - i open my word document - on page 1 and two i have a number of dropdownboxes - on the last page i have a table with 2 columns (col1 = code, col2 = description) example : col1 col2 ------------------- <TR1> Mr <TR2> Smith <TR3> John ....... when in one of my dropdownboxes i select the following text: "Dear <TR1> <TR2>, we thank you for your trust in our company." it is automatically inserted in a bookmark just under the dropdown. What i would like next in that automated step is that a script checks the content of that text and if it finds a value (like <TR1>) that is contained in col1 of my table, automatically replaces it with the value that is in col2. So the script should run through all the <> values it finds in the selected text from the dropdownbox and compare it with the values in col1 of my table. When it finds the correspondant value, it should be replaced with the value in col2. thanks already for your help. Vincent |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Brigitte | Word | 7 | 06-15-2021 05:10 PM |
help with find and replace | sjkiss | Word | 1 | 04-12-2010 08:08 AM |
Find & Replace Insert Issue | mipacker | Word | 0 | 02-18-2009 08:59 AM |
Find and Replace Macro - A Better Way | Tribos | Word VBA | 0 | 10-08-2008 03:22 AM |
![]() |
M Skabialka | Word | 2 | 06-06-2006 10:05 AM |