0
VBA - Writing PDF Form Fields with VBA from EXCEL worksheet
Explorer
,
/t5/acrobat-sdk-discussions/vba-writing-pdf-form-fields-with-vba-from-excel-worksheet/td-p/8556987
Sep 02, 2016
Sep 02, 2016
Copy link to clipboard
Copied
Good evening,
I'm writing data from EXCEL to a PDF with formfields. NUMBERS are fine but STRINGS are not acceptet.
Dim AcroExchApp As Acrobat.CAcroApp
Dim AcroExchAVDoc As Acrobat.CAcroAVDoc
Dim AcroExchPDDoc As Acrobat.CAcroPDDoc
Set AcroExchApp = CreateObject("AcroExch.App")
Set AcroExchAVDoc = CreateObject("AcroExch.AVDoc")
Set jso = AcroExchPDDoc.GetJSObject
jso.getField("Text1").Value = text1
If text1 is "1" it works
If text1 is "ABC" I get the error '13'
Someone can help me on this topic ?
TOPICS
Acrobat SDK and JavaScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
/t5/acrobat-sdk-discussions/vba-writing-pdf-form-fields-with-vba-from-excel-worksheet/m-p/8556988#M45544
Sep 02, 2016
Sep 02, 2016
Copy link to clipboard
Copied
Not entirely sure how this connects to Enterprise Deployment. Is this part of your deployment/install/update procedure?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Community Expert
,
LATEST
/t5/acrobat-sdk-discussions/vba-writing-pdf-form-fields-with-vba-from-excel-worksheet/m-p/8556989#M45545
Sep 03, 2016
Sep 03, 2016
Copy link to clipboard
Copied
May be that the field accepts only numeric values.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

