View Single Post
 
Old 04-21-2025, 03:54 PM
gcp gcp is offline Windows 11 Office 2021
Novice
 
Join Date: Mar 2025
Posts: 17
gcp is on a distinguished road
Default Find and save bold capitalised works

I'm sorry if this is a repeat because I was typing a reply that seemed to disappear.
Where a husband and wife want to make wills that are mirror images of each other I prepare the husband's will and then substitute their names in relevant places (and change words such as "she" to "he" etc , which I assume would be simple). The husband's name is substituted once and the wife's name twice.
The name of the spouse to be selected must be first name, surname, and however many middle names they have. I created Sub SelectNameForWillSubSub() which selects all bold uppercase text after the bookmark "Husband" until the first lowercase character. However, when I try to insert it elsewhere it has only saved in uppercase format and not bold.
I thought that by saving each name is a variable it would then be simple to insert it in the relevant places.
Subject to your guidance, my problem is to be able to save each name as a variable in bold uppercase so that I can then insert them where needed.
Reply With Quote