good morning everyone,

I`ve got a column in which there are some codes that corresponds to the vouchers that are in a .doc file; one cell has, let`s say, a 15-digit code that is a code for a voucher in a .doc file. If I have 50 cells in excel file; that meqns that I also have a 50-page Word document and there are 50 vouchers there (each one has a different 15-digit code).

Is it possible to create a macro that will check if all codes that are in an Excel file exists as vouchers in a Word file? I cannot simply count the number of cells in an excel file and number of pages in a Word file need to check if they are really there.

Thanks in advance for your help!