Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#138179 - 29/01/2003 17:34 Converting a PDF to Excel
visuvius
addict

Registered: 18/02/2002
Posts: 658
Hi,

Does anyone know how to do this without having to buy Adobe Acrobat 5.0? There is a rather large price sheet in PDF format here at work that i needed converted to excel. The only method i've seen is the one here.

We have Acrobat 4.0 here, but that page says you need 5.0.

Top
#138180 - 29/01/2003 17:52 Re: Converting a PDF to Excel [Re: visuvius]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
I don't know how to do this but I do have full Acrobat 5.0 installed at work. I'll be there in about 8 hours from now and I'm happy to try and convert it for you using those instructions if you're still stuck.

Top
#138181 - 30/01/2003 03:31 Re: Converting a PDF to Excel [Re: visuvius]
muzza
Pooh-Bah

Registered: 21/07/1999
Posts: 1765
Loc: Brisbane, Queensland, Australi...
If you have some OCR software you could print it, scan it and format it. It would take a while though.
Could you request the info as a spreadsheet from the supplier?
_________________________
-- Murray I What part of 'no' don't you understand? Is it the 'N', or the 'Zero'?

Top
#138182 - 30/01/2003 09:28 Re: Converting a PDF to Excel [Re: muzza]
visuvius
addict

Registered: 18/02/2002
Posts: 658
We have requested it as a spreadsheet and they've been pretty unhelpful on that front. I hope this isn't a testament to their future service.

I hadn't thought of the scan and formating angle. I suppose that would be a littl better than manualy entereing in the info.
<shiver>

Top
#138183 - 30/01/2003 11:49 Re: Converting a PDF to Excel [Re: visuvius]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I hadn't thought of the scan and formating angle.

With the right software tricks, you could probably get the PDF to print to a bitmap image file instead of a printer, then get the OCR software to read that file. Thus saving the analog/realworld step and getting a better image and a more accurate OCR.

One other question...

It's not as simple as selecting all the text in the PDF document, hitting "Edit/Copy", pasting it into a text file, and importing that text file into Excel (with the proper formatting instructions)... is it?
_________________________
Tony Fabris

Top
#138184 - 30/01/2003 13:32 Re: Converting a PDF to Excel [Re: tfabris]
jasonc
member

Registered: 08/12/2001
Posts: 109
In reply to:


It's not as simple as selecting all the text in the PDF document, hitting "Edit/Copy", pasting it into a text file, and importing that text file into Excel (with the proper formatting instructions)... is it?




Depends on the Document Security set by the person who created the document, but is techinically possible.

Top
#138185 - 30/01/2003 13:33 Re: Converting a PDF to Excel [Re: tfabris]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
It should be that simple.... You will still likely have to do some cleaning up after, but it is a much better way.

Top
#138186 - 30/01/2003 13:34 Re: Converting a PDF to Excel [Re: lectric]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
Oh, and I'd paste into wordpad first, to set up the delimiters better.

Top
#138187 - 30/01/2003 13:42 Re: Converting a PDF to Excel [Re: lectric]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Screw the intermediary program.

I just typed some random columns of data into a text editor, hit edit/copy, and then hit edit/paste in excel and it dropped in perfectly.

So if the text in the PDF document can be selected and copied to the clipboard, just paste directly into excel.
_________________________
Tony Fabris

Top
#138188 - 30/01/2003 13:45 Re: Converting a PDF to Excel [Re: tfabris]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
That works assuming it's standard length data. If some of the fields have extra spaces or tabs, it could be a problem. Then again, you're going to have to fix it regardless, so I gess the middle step isn't really necessary.

Top
#138189 - 30/01/2003 14:55 Re: Converting a PDF to Excel [Re: tfabris]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
It's not as simple as selecting all the text in the PDF document, hitting "Edit/Copy", pasting it into a text file, and importing that text file into Excel (with the proper formatting instructions)... is it?

You should be able to do pretty much what you said. visuvius even linked to some instructions specially geared towards exporting Acrobat tables to a .txt file but it's not that simple in this instance.

I spent 10-mins today trying with his file and there's something wierd going on;
- Acrobat's 'edit/copy' errors with something like "cannot copy selection to clipboard"
- The special table select then save-as .txt file method just produces a file full of non-printing characters

Illustrator 10 warns of a missing font in the .pdf and makes a mess of displaying it which I think is a major clue. I suspect this file was generated by a non-Adobe application and there's a compatibility problem with it's file format.

I'll be having another play with it @ work tomorrow

Top
#138190 - 30/01/2003 15:02 Re: Converting a PDF to Excel [Re: AndrewT]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
    Acrobat's 'edit/copy' errors with something like "cannot copy selection to clipboard"
IIRC, that's because it's specifically denied. Check File->Document Security.
    I suspect this file was generated by a non-Adobe application
Check File->Document Properties->Summary.
_________________________
Bitt Faulk

Top