Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Importing a list of prices from Excel file

New Here ,
Jan 15, 2020 Jan 15, 2020

Hi everyone,

 

I've been asked to supply a PDF of a sales sheet with a blank column that the client will populate with various prices. Imagine a 3-column table with about 100 rows/products. Column 1 and 2 are name of product and maybe product code. Column 3 will eventually be price, but they'd like to populate this themselves and change the prices per region. They'd be importing the price data from an Excel file.

 

I'm familiar with mail merge, but this seems different as I'm not trying to create 100 separate docs. I need to fill in 100 separate fields in a single doc. 

TOPICS
PDF forms
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Jan 15, 2020 Jan 15, 2020

This is not a simple task, but not impossible either. It will require the development of a custom-made tool since what you're asking for is not exactly mail-merge, nor is it a straight forward data import into form fields, either. However, if you add fields with consistent names (Price1, Price2, etc.) and those names match the row numbers of the data in your Excel file then it should be possible to do it.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2020 Jan 15, 2020

Hi,

 

you can print to PDF and create your own fillable fields. This is the long method.

 

https://m.youtube.com/watch?v=Th6Kfy_0WHw 

 

You may as well use a paid-for app or third party plugins with auto mail merge for Adobe Acrobat 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2020 Jan 15, 2020

This is not a simple task, but not impossible either. It will require the development of a custom-made tool since what you're asking for is not exactly mail-merge, nor is it a straight forward data import into form fields, either. However, if you add fields with consistent names (Price1, Price2, etc.) and those names match the row numbers of the data in your Excel file then it should be possible to do it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 15, 2020 Jan 15, 2020

Read this:

https://www.pdfscripting.com/public/Form-Data-Handling.cfm

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 18, 2020 Mar 18, 2020

Hey guys, so sorry for the delay here. Thought we were abondoning this idea but it looks like they still wanna do it. I appreciate all the responses. try67, you mentioned that matching fields with row numbers? Can you explain further? I'm familiar with having column names match fields but not rows.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 18, 2020 Mar 18, 2020

Each row in the Excel file contains one set of data, right? So Row 1 in the Excel sheet is Product 1 (cell A1, let's say) and Price 1 (cell B1), then Row 2 is Product 2 (A2) and Price 2 (B2), etc.

If you then have fields in the PDF called Product1, Price1, etc. then you could match those fields names to the number of the row (or line number, since you will need to save the Excel file as a text file first) and populate them with the data from that row.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 19, 2020 Mar 19, 2020

The matching makes sense, but can that be automated or batched so that all 100 or so products/prices come in at once. I have a feeling it can only be done 1 row at a time?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 19, 2020 Mar 19, 2020

Yes, it can be, using a script. If you're interested in hiring a professional to write this script for you feel free to contact me privately via [try6767 at gmail.com].

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 19, 2020 Mar 19, 2020
LATEST

That sounds interesting. I'd have to talk to the boss about outsourcing, but it might be our only option. Would the script be easy enough and able to be used again and again by the clients sales team. They'd be updating these every month or so.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines