my macro takes a long time to proceed and sometimes Excel blocks.
Tab A: list of specific languages in the "Database" tab (column A ).
Tab B: list of some virtual profiles (column D) including some beginning with a specific language "French ....".
What I need to do: mention in column 14 from Tab B these specific languages (if they exist).
I used below macro but it took sometimes up to 2mn when it works. Do you know what I have to change? Thanks
Worksheets("MyFile").Activate
Range("R2").Select
ActiveCell.Formula2R1C1 = _
"=INDEX(Database!C[-17],MATCH(1,INDEX(COUNTIF(RC[-14],""*""&Database!C[-17]&""*""),),0))&"""""
Range("R2").Select