Is there a vba code to search a listed invoice number in an excel list into a word document highlight that line with the matching excel invoice number and print that current page as pdf and name it after that invoice number.
Example: Excel doc Name:Invoices Cell:A1 Cell A1 Contains:invoice 001
Word Doc Name:Remitance Line3 Contains:invoice 001
(Basically vlookup) Then highlight the line invoice 001 Print current page as pdf Name and save that pdf in a folder according to invoice number
Also i hope no errors will occur because some invoices are duplicates but belong to the same company
We have this every week and we need to search the invoice numbers and print it page by page.
Thanks in advance