Skip to main content
Participant
Nov 8, 2021 6:53 PM UTC
Question

How can I copy a formated Excel table to auto-fill a Fillable PDF?

I created an Excel VBA script to create a table that is in the same format as a fillable tax spreadsheet. I would like to copy the cells from Excel to the fillable tax spreadsheet, but when I try to manually paste the Excel table into the Adobe PDF, it pastes into one cell instead of all the cells. How can I fix this?

 

I have attached the fillable pdf and my Excel data. I would like to paste the Excel table into the large table on the second page of the pdf.

 

Eventually, I would like to script this in VBA, but I want to know how to do it manually first.

 

Thank you.

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Legend
Nov 9, 2021 8:30 AM UTC

Possible as in "perhaps the pasted data could be programmatically parsed, split and assigned to appropriate fields". But I don't think so. 

Certainly nothing you can do manually; you can put form fields in a grid in Acrobat, but there is no row or column relationship. They might look the same, but they need a completely different worldview. 

Translate
ImozebAuthor
Participant
Nov 9, 2021 11:17 AM UTC

Does Acrobat have any way to reference a specific cell, like can I rename the cell fields in Acrobat somehow and then use those field names in VB?

Translate
try67
Community Expert
Community Expert
Nov 9, 2021 11:50 AM UTC

There are no "cells" in Acrobat, only fields. You can refer to them in your code using their name.

And there is no way to directly rename them using a script, no.

Translate
Bernd Alheit
Community Expert
Community Expert
Nov 9, 2021 6:52 AM UTC

May be possible with the VB-Javascript interface.

Translate