Skip to Content
0
Jan 28, 2023 at 08:38 AM

script to copy text from Document Viewer

132 Views

Our AP invoices (searchable pdf format) are displayed in a separate session automatically via the Document Viewer. I would like to use a VBA script to highlight all the text from the document and put it in a variable. We use this text to automate part of our process.

How can I get the text from the PDF file shown in the Document Viewer with a VBA script?

Thanks.