Thank you very much for your apply;
I am sorry that I had not made me understood by you;

I describe it again in details.
I use the exgex expression “on|off|yes|no|…” (the sign “…” indicates that the alternative number may count up to 100) to call the function “FindInFiles”, then when the search result displays, as you know the highlighted text may differ from each line, but how can I get the highlighted text in each line through macro.

please help me, thank you very much