I would like to have VBA bold every other word in a Word 2007 document.
Though I have never really taken to VBA, I thought, "No problem." Wrong.
Seems VBA maintains that punctuation and paragraph marks are words. I overcame that by testing for case of the left most character of what VBA thinks is a word.
Problem is, I cannot figure out how to then change the format to bold of the pertinent word.
Any help would be appreciated.
Though I have never really taken to VBA, I thought, "No problem." Wrong.
Seems VBA maintains that punctuation and paragraph marks are words. I overcame that by testing for case of the left most character of what VBA thinks is a word.
Code:
Case 48 To 57, 65 To 90, 97 To 122
Problem is, I cannot figure out how to then change the format to bold of the pertinent word.
Any help would be appreciated.