These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Create filename automatically

noclue
Registered: Dec 2 2008
Posts: 3

Hi,
does anyone know how I can implement a code in my word or excel document to create the filename of the pdf automatically?

My task: I have to print 100 files manually, created by a MS Excel spreadsheet. With another pdf creator I just had to implement a string like
"@@sfInvoice_No_xx" , so at least I didn´t have to type in the file name when I used the pdf-printer to save the file.

(sf was for "save file" and I could automatically get the xx changed by excel.)

Is there something similar for Acrobat?
I found some posts about complicated script, but I´m a tech dummy, so any help would be highly appreciated!

Thank you.

My Product Information:
Acrobat Standard 9.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Well, the short answer is No, this is something you get a 3rd party tool for.

There is nothing for this specifically built into the PDF Printer/converter. But, as you point out, there are various scripting/programming solutions.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script