#5881
Yutaka Emura
Keymaster

yaot wrote:
(1) First, I click the keyboard “ctrl + F” to find the keyword “on”, then all the occurrence of the “on” will be highlighted. when we click the “F3”, it would jump to the next occurrence of the “on”;
(2) then I execute a macro, which contains the following code
document.selection.Find(“off”, eeFindNext | eeFindReplaceCase);
then all the occurrence of the “off” will be highlighted.
but this time, when we click the “F3” in order to jump to the next occurrence of the “off”, the “on” is highlighted again, then the next “on” is selected.
(3) How this happens, it seems the macro function “Find” doesn’t equal to the “ctrl + F”, how can i avoid it?
please help me, thank you very much

I will look into the source code when I have a time. Thanks!