Hi Gurus and Experts,
I have the following codes to find replace text in word file:
However, I have a problem with this code. If I run excel macro multiple times, "To: " gets added multiple times, as I need to save the word document before closing.Please Login or Register to view this content.
Hence, I want to execute code only if it has no "To: Total". I tried to add if condition as under:
However, it did not work to serve my purpose. I seek your guidance to resolve this issue. I appreciate your advices.Please Login or Register to view this content.
Thank you
Roshan Shakya
Bookmarks