0

I want to make macro in Word to find "the" in document and replace it with "THE". Only words which have space before and after "the" should be changed and the in these or words like that should not change. How can I write commands for it in Word. I want to run it in command prompt. Which command is required to execute it?

Edited by Zaina jee

2
Contributors
4
Replies
5
Views
4 Years
Discussion Span
Last Post by Zaina jee
1

Have you considered just using the "Find and Replace" tool? You would just tell word you want to find " the " and replace it with " THE ". Tell the tool to match the case in the advanced options.

0

Actually it is my Assignment to make macro for this purpose. Otherwise there is option available in Word to Find and Replace any word in document.

Edited by Zaina jee

0

Thanks JorgeM. My work was done. This website is quite helpful.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.