#17448

snovic
Participant

Ok, thanks to mr. Omura, I have Macro which makes batch replacements in documents. One of his lines is
document.selection.Replace(“Bok”,”Zdravo”,eeReplaceAll | eeFindReplaceEscSeq | eeFindReplaceQuiet | eeFindReplaceCase);
and she works well. Bat, she makes also changes which isn’t desirable. At example
Bok–> Zdravo is Ok
Boksujem –> Zdravosujem isn’t Ok.
How can I achieve that Macro affects at the very single word?
I think I was clear, I wish line witch will recognize single word Bok, and make replacement, bat if she is part of some word, to ignore it. I belive it’s possible to make this change.