Hi,
The one of the basic ideas behind the PDF file formats is to allow users to
print the data but not have actual access to the data. In other words
converting pdf files to and Excel file would defeat part of the purpose of
pdf files.
Microsoft provides an add-in the convert Office files (such as Excel 2007)
to PDF but not the other way around. And there is nothing in the ExcelVBA
language to allow this.
Cheers,
Shane Devenshire
Strange.
On any POSIX-compliant operating system with the usual GNU toolset, I
would just do
pdf2ps | ps2txt < filename.pdf
and be done with it.
So in theory, it might work like this:
a) install the GnuWin tools or CygWin, whatever works best for you.
(both toolsets are Software Libre)
b) make sure that pdf2ps and ps2txt (or ps2ascii) are installed
c) in Excel, shell out to run pdf2ps and ps2txt
d) take the output and do whatever you want with it in Excel
That is how I would do it. Ok, it's not 100% in the Excel VBA language
so some might consider that cheating.
But isn't that what programming is all about? Taking shortcuts to get
the data you want, as fast and as accurate as possible?
HTH, HAND.
Amedee