I've searched the forum, and have found several topics on finding and replacing text, but none really fits what I'm trying to do. I have a drawing with a VBA program that asks the user some questions and then the program creates a few part numbers. What I need is some code to put into my command button of "Run Program" where the after the program has put part numbers into the variables, the program will search the drawing for 3 or 4 unique pieces of text, named "rootvalve", "tubenumber", and 'interconnection" and replace those with the part number the program creates. My variables are strings, here are the names of those:
PEPartNum will change rootvalve
TubingPartNum changes tubenumber
IEPartNum will change interconnection
There is a 100% chance there will be more to add later on, so these three should get me by for now.
Thanks in advance!!
Rick