使用 VBA 將 PDF 中的特定數據與另一個 PDF 或 excel 中的數據進行比較 (Compare the specific Data from PDF with Data in Another PDF or excel using VBA)


問題描述

使用 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 GanaiMorten Bergfall)

參考文件

  1. Compare the specific Data from PDF with Data in Another PDF or excel using VBA (CC BY‑SA 2.5/3.0/4.0)

#file-handling #excel #pdf #PHP #vba






相關問題

c語言使用文件操作創建數據庫 (Create database using file operation in c language)

使用jsp瀏覽文件和文件夾 (browsing files and folders using jsp)

在 rails/paperclip 中處理一系列圖像 (handling an array of images in rails/paperclip)

Java 並行文件處理 (Java Parallel File Processing)

Perl 隱式關閉重置 $. 多變的 (Perl implicit close resets the $. variable)

更換和存放 (Replacing and Storing)

逐行讀取文件並基於它將換行符寫入同一文件 - nodejs (Reading a file line by line and based on it write newlines to same file - nodejs)

使用 PHP 將數據放到服務器上(新的 DOMdocument 不起作用) (Use PHP to put data onto server ( new DOMdocument not working))

表示“目錄”或“文件”的詞是什麼? (What is the word that means "directory" or "file"?)

如何在我的計算機上保存我用 Python 編輯的 CSV 文件? (How do I save a CSV file on my computer which i have edited in Python?)

使用文件中的類和對象獲取信息 (Get info using class and object from file)

使用 putw() 時在文件中獲取亂碼 (Getting gibberish values in files when putw() is used)







留言討論