METTRE TOUS LES MOTS EN MAJUSCULES EN GRAS
Solved
pema
-
pema -
pema -
Hello,
I would like to know if there is a way to automatically make words bold and uppercase in Word Office 2003?
Thank you in advance.
I would like to know if there is a way to automatically make words bold and uppercase in Word Office 2003?
Thank you in advance.
6 answers
-
Hello,
No need for a macro for that. A simple find and replace will do:
In the Find and Replace dialog box, check the Wildcards option, then:
- Find: (<[A-Z]{2;}>)
- Replace with: \1
With the cursor in the "Replace with" area, click on format at the bottom, then Font, and choose Bold.
m@rina
--
- "On the office forum, questions about office software are asked..."
- "Oh really???" -
Yes, on the condition that your name in uppercase is set to uppercase by Format/Font/Uppercase, or that you have a defined list, for example: you could create a small macro.
-
No, if you select your proper name and go to format/font, only your proper name will be capitalized.
I suggested this solution so that a macro could be possible to do a search "whole word in uppercase/replace whole word in bold uppercase" because otherwise, if you capitalize them using the keyboard, I don't think a macro would be possible (but at first glance). -
Hello Marina,
Thank you for your response, I wouldn't have been able to do this chain. Does the 2; represent more than two uppercase characters?
Where can I find the list of wildcard characters? I don't remember anymore.
Sylvie -
Hello Sylvie,
Yes, that's right, 2; represents more than 2 characters.
A-Z represents all uppercase letters
<> represents the beginning and end of a word
() represents an occurrence
If you're interested, I've explained everything here:
https://faqword.com/index.php/word-tutoriels/toutes-versions/88-la-face-obscure-du-rr.html
m@rina
--
- "On the office forum, people ask questions about office work..."
- "Oh really???" -
Great, thank you very much.
Almost without exaggerating: it's a new life that begins!
If only you knew how many macros I've done without going through A-Z, you would be rolling on the floor laughing, just like I am now at myself!
Have a good day.
Sylvie