Macro to create PDF files from word documents

  • Hi there,


    I am looking VBA code to create macro to make PDF files by searching word in that current page. i have word documents with 40 pages (invoices of different companies on each page). I want to search first company name and then to make pdf file of that current page. the reason i do not want to add From and To as sometimes any company has no invoice then i get word file with different numbers of invoices. I even try to remove From: and To from the code but it is only making PDF of first page. Thank you.


    Regards,
    Niky

  • Hi,


    As a first step ... have you tried to turn on your macro recorder ... and go through your process once ...


    As a result, you will get an initial 'VBA translation ' of your actions ...


    Hope this will help

    If you feel like saying "Thank You" for the help received, do not hesitate to click the "Like" icon ...just below...in the bottom right corner...:)