I am not proficient with VBA but would like to set up a macro that does a specific action with Mocrosoft Word 2003 (yes, I am limited to 2003 by my company software- don't ask!).
I have a number of documents concerning individuals. They all start with the document reference 15/3/ARTF/(NAME)
where (NAME)
is the surname of the individual, for example 15/3/ARTF/JONES
.
The documents are based on a template I have created that says things like "~Name~ has passed her navigation exam".
How can I set up a macro to extract the name in the document reference and find and replace ~Name~
with that name (in sentence case)? In the example shown, I would like the sentence to say "Jones has passed her navigation exam" on completion of the macro running.