問題描述
使用 VBA 將 PDF 中的特定數據與另一個 PDF 或 excel 中的數據進行比較 (Compare the specific Data from PDF with Data in Another PDF or excel using VBA)
我想比較兩個 PDF 文件或 PDF 文件和 Excel 文件中的一些特定數據。在研究中,我發現無法直接將 PDF 與 Excel 進行比較,我們必須將 PDF 轉換為 Excel,然後才能進行比較。但是列出了以下問題: 1. PDF 中的數據未格式化,我找不到任何鍵/索引來從 PDF 中選擇數據並將數據複製到 excel 中的特定單元格。2. 我僅限於 Excel VBA 和 Adobe Reader 10.0。3. 如果我想用PHP或.net實現以上,是否可行?
請建議!
參考解法
方法 1:
You'll need some sort of third party utility, and convert the PDF files to text, then do the comparing (then ask regarding that, one question at a time, please), for example : Adobe Acrobat PDF file import
(by Hamid Ganai、Morten Bergfall)