Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2009, 08:45 AM
vsempoux vsempoux is offline Automatic find replace after selection in dropdown Windows XP Automatic find replace after selection in dropdown Office 2003
Novice
Automatic find replace after selection in dropdown
 
Join Date: Oct 2009
Posts: 7
vsempoux is on a distinguished road
Default Automatic find replace after selection in dropdown

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
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic find replace after selection in dropdown Find and Replace is not working 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
Automatic find replace after selection in dropdown Find and Replace box flies off screen! M Skabialka Word 2 06-06-2006 10:05 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft