View Single Post
 
Old 07-27-2018, 04:50 PM
BobT BobT is offline Windows 10 Office 2016
Novice
 
Join Date: Jul 2018
Posts: 8
BobT is on a distinguished road
Default replacing the full name of elements by their respective symbol, in a long MS Word text.

Could you help me with a macro to replace the full name of elements by their respective symbol, in a long MS Word text. For example:
"Actinium" replaced by "Ac"
"Aluminum" replaced by "Al"
"Americium" replaced by "Am"
"Antimony" replaced by "Sb"
"Argon" replaced by "Ar"
"Arsenic" replaced by "As"
"Astatine" replaced by "At"
"Barium" replaced by "Ba"

Note: There is no " " in the text, before and after.
Thank you
Reply With Quote