How can I loop through every letter in MS Word using VBA?

Posted by Behrooz Karjooravary on Stack Overflow See other posts from Stack Overflow or by Behrooz Karjooravary
Published on 2010-03-07T15:44:29Z Indexed on 2010/03/09 2:51 UTC
Read the original article Hit count: 419

Filed under:
|

I have about 100 ms word documents which include transliteration of foreign names. The author of these docs used a special font called e2 which has about a dozen special transliteration characters (all of which are available in ms sans serif font). I would like to loop through every letter of the document and whenever the font = e2 i would like to loop through the dozen letters (it's easy to guess what they are) and replace them with a Microsoft Sans Serif equivalent. But I can't figure out how you can loop though letters. Is that doable like looping through cells in an excel spread sheet?

© Stack Overflow or respective owner

Related posts about word-vba

Related posts about vba