Fill a PDF form from Excel

Hello to all.
I've been googling around for days to find some examples to solve my problem but was unable to find a good one.
I’m using Excel 2007 and Visual Studio 2010
Normally I report the data using Excel itself (a workbook). Now the request I have is to fill a PDF file containing a form with a huge number of lines. This means the data i have in the columns and lines of the Excel Worksheet have to be entered in the PDF form fields.
The PDF file was created withAdobe LiveCycle Designer 11.0 and has the ability to allow the creation and deletion of as many lines as we need.
I do even have a way to know the PDF form fields names...
Can someone please give me a clue of how can i achieve this using VB?
Thanks in advance for any kind help.
Octavio

In that case the for loop would be:
    for (var i = 0; i < 8; i += 1) {
        sum += +getField("Total." + i).value;
So initially, the counter i is equal to zero, so the field name used with the getField method is:
"Total." + 0, which results in the string "Total.0". With each iteration, the variable i is incremented by 1, so the subsequent field names are the following:
"Total.1"
"Total.2"
"Total.3"
"Total.4"
"Total.5"
"Total.6"
"Total.7"
The script gets the value of each field, converts it to a number, and adds the number it to the running sum.

Similar Messages

  • Fill a PDF form via Excel (VBA) - Hide text box

    Hi,
    i already created a PDF form and also can fill the text boxes with Excel VBA.
    Now i'm about to hide some fields if they are empty, but i have no clue how to.
    My code to fill the fields is:
    Fields("Title").Value = Worksheets(TabName).Cells(actCell, 4).Value
    To hide a field the code should be similar, but i have no clue what statement i need to set.
    I already tried:
    Fields("Title").Visible = False
    Fields("Title").Hide
    Fields("Title").Hide = True
    What else can i type to hide and unhide the fields?
    Looking forward to hear from you.
    Thanks a lot.

    Does the form have a provision to insert images (e.g. a Browse button)?
    [topic moved to iOS subforum]

  • How can I fill a pdf form with Excel?

    I have a pdf form and a set of Excel dates. How can I fill the form with this dates?
    Is there any way to transform excel dates into a fdf-File?
    Thank You for helping
    Hans

    I see. That's possible, in theory, but it requires using a complicated custom-made script.
    I would suggest using that Mail Merge option that's available in some versions of Excel to produce multiple single-page files, then flatten all of them (using an Action), and then merge them to a single file, to achieve the same result with much less effort.

  • Filling in PDF forms from web forms

    I have acrobot pro, and can build PDF files. What I don't know how to do is build a web form that'll fill in PDFs, and then make a copy to the server, or email the pdf to the person who filled in the form.
    What forum is the correct place to ask this question? I don't want to be irritating people by asking in the wrong place.

    This forum is fine, you just may want to provide more details. Acrobat's help has more information on creating forms, as do a number of tutorials at AcrobatUsers.com.
    Submitting the entire PDF either to a web server or sending it by email is easy, but if it has to work with Reader, the form has to be Reader-enabled. You can do this in Acrobat, but there is a 500 form limit on the number of returned forms Iincluding hardcopies) that you can use data from if you distribute the document to more than 500 users. When you post a Reader-enabled document on a publicly accessible web site, you are effectively distributing it to an unlimited number or people.
    An alternative is to set up the form to submit just the form data to a web server or send it via email. There are no licensing restrictions for this. The form data can then be later imported back into a blank form, stored in a database, or the data file archived.
    Much of what you asked about does not involve Acrobat directly, but rather programming of the server to respond to a form submission.

  • Fill a PDF form from HTML form

    I Have a HTML inquiry form that print a PDF form. I don't know how to pass the fields vars in my HTML to PDF vars

    you can see de app in www.karakol.es
    is a jquery interface and javascript program
    At the end of section 4, once filled out the form the user opens the PDF form with form fields listed.
    The user prints the PDF opened by any printer or save the PDF to mail
    Before open the PDF the data colected are sent to a server.
    Of course you can call a saved form an display in the user interface

  • PDF form from Excel spreadsheet/table

    I am developing a process where folks enter data (all text) to a central spreadsheet, and someone uses Acrobat X to generate a form. The form needs checkboxes (one per table row), and a digital signature above the table. I'm running into a couple of issues:
    1) I am trying to automate the creation of checkboxes, so that whoever is generating the final PDF form does not need to add a checkbox for each row. I noticed that in Excel, in Develop mode, one can add checkboxes, and on my first try, the PDF form creator seemed to translate those automatically into PDF form checkboxes so that no extra manual step was needed. In my last few tries, the conversion no longer auto-converts checkboxes. Any tips on this?
    2) I also noticed that whereever there is blank space, the form creator inserts a text field. Even for table cells that have text in them, if there's any white space, presto, here comes a text field inserted into that very cell, usually named after the text already in the cell. Is there any way to avoid this?

    Which version of Acrobat do you have? If X, then there should be an option
    in your Excel to Mail Merge the spreadsheet, which is basically what you
    describe. However, I'm not sure if it can also automatically email the
    files to the recipients.
    I have developed a script that can do the merge, *and *automatically email
    the file to each person. Have a look here for more info:
    http://try67.blogspot.com/2011/09/acrobat-mail-merge-and-email.html

  • Flatten a PDF file from Excel

    Flatten a PDF file from Excel
    Is there any way to run a javascript to flatten a PDF document from Excel?
    I’m populating a PDF form from Excel by creating a FDF file, once I finish I need to flatten it.
    Is there any way to accomplish this without having Adobe Acrobat?
    Thank you,
    Luis Gonzalez

    Reader cannot flatten a document, if that's what you're asking. A user with Acrobat installed can, in which case you can use VBA to control Acrobat. For exampe: http://www.khk.net/wordpress/2009/03/04/adobe-acrobat-and-vba-an-introduction/

  • HT2506 I am trying to fill out a PDF form from an internet site, but when I go to print it, none of the content prints, only the header of the document.  Help!

    I am trying to fill out a PDF form from an internet site, but when I go to print it, none of the content prints, only the header of the document.  Help!

    Instead of printing it, try saving it as a pdf from the print menu, and then printing the pdf out.

  • Fill out a pdf form from ADF application

    Hi
    I need to fill out a PDF form, from my ADF application and i want to know if exist a component or libarary to do this.
    i hope you can help me
    Regards.

    Hi,
    two options are:
    Oracle BI Publisher (by far best choice but needs to be licenced)
    http://www.oracle.com/technology/pub/articles/vohra-jdev-xmlpub.html
    Jasper Reports, Free but not as functional or easy to use as BIP
    http://jasperforge.org/projects/jasperreports
    Both products have Java API's which you can integrate with your application.
    Brenden

  • The pre filled fields from downloaded pdf forms are blank; e.g.; prefilled pdf forms from insurance companies.

    I download pre filled pdf claim forms from the web site of my insurance company. The fields are not pre filled with my personnal data ( name, address, etc) like it is supposed to. Furthermore, I cannot even type my own data in the blank fields. All of this works all right with another browser.

    The new built-in PDF viewer does not have the capability to do fill-in forms. Development is still underway on enhancements to the PDF viewer.
    In the meantime, you will need a PDF application that can do fill-in forms (Adobe Reader and Foxit Reader are 2 free PDF applications that can fill-in PDF forms).
    *You have Adobe Reader 9.3.4 installed, but it is a very old version and needs to be updated due to security issues.
    *Check your Plugins - https://www.mozilla.org/en-US/plugincheck/
    *Info about Adobe Reader - https://support.mozilla.org/en-US/kb/use-adobe-reader-plugin-view-or-download-pdf-files?esab=a&s=pdf&r=0&as=s#os=winxp&browser=fx19
    You can change Firefox settings to use another application's plugin to fill-in forms in Firefox instead of using the built-in PDF viewer as a default. Here's how to do that - https://support.mozilla.org/en-US/kb/disable-built-pdf-viewer-and-use-another-viewer

  • Will I be able to create fillable pdf forms from existing word and excel documents?

    Will I be able to create fillable pdf forms from existing word and excel documents?

    Hi
    Yes you can. You may visit this link to check the workflow: https://www.youtube.com/watch?v=O0PPzFq3X00
    Regards,
    Ajlan Huda.

  • PDFMaker missing files issue with PDF Forms from Office 2007

    Hi,
    I have Adobe PDF 8.0 Pro installed  (full installation) and I upgraded office from 2003 to 2007 AND Windows from 2000 to XP Pro.
    I used to be able to create PDF Forms from an Excel document when using Office 2003.
    Now, when I choose to create a new form starting with an electronic document [from an Excel 2003 document (.xls)], I get this error message:
    "PDFMaker files are missing, would you like to repair?" (please image attached)
    I did the repair. Did not worked.
    I made sure the add-in in office was enabled. Did not worked.
    I un-installed Adobe 8.0 Pro and Adobe Reader 9.0 and re-installed only Adobe 8.0 Pro , thinking there was a problem there. Did not work.
    I googled for more answers, did not find anything else.
    I am able to "print as Adobe PDF", I can create normal PDF documents, but not the Forms.
    I used that option all the time for work. Can someone help me please?!!
    Thanks!
    Gwen

    Bill, it worked!!
    I updated to 8.1.6 and now I can use an electronic document to create a form.
    Thank you!
    I have another question: in the past, to enable Acrobat READER users to fill out a form and save it on their computer, all I had to do is "Enable Usage Rights in Adobe Reader" in the "advanced" menu of Acrobat Pro.
    I did just that but my colleagues who have Adobe Reader 9 cannot fill the form. It appears as a scanned PDF document to them.
    Any idea why?!
    Gwen

  • Read PDF form from email attachment

    Hope someone is able to help on this one...
    We are using a pdf form at work to gather some feedback and the user will be submitting the form via email...
    Using outlook 2003 I had a crack at writing a vba module to read the pdf form from the email attachment to update into an excel spreadsheet
    Is it possible to read pdf forms from the email attachment with outlook vba? Or does the attachment need to be saved to a directory first?
    I have in the past done a vba module to save the pdf form attachments to a directory and then using acrobat and it's in-built form data collection tool and exported as a csv, but this feedback form will be an ongoing thing that will be updated daily - and to minimise handling would like to run the outllook macro that reads straight from the email attachment instead of doing another 3 or so steps...
    Below is the snippet I am using - it's a mashup of different code I've found on the net
    Sub Feedback()
        On Error GoTo Feedback_err
        'Dim ns As NameSpace
        Dim objNS As NameSpace
        'Dim Inbox As MAPIFolder
        Dim objFolder As Outlook.MAPIFolder
        'Dim SubFolder As MAPIFolder
        Dim objExcel
        Dim oBook
        Dim oSheet
        Dim gApp As Acrobat.CAcroApp ' In Tools > References > Checked all Acrobat Libraries in VBA > Tools > References
        Dim pdDoc As Acrobat.CAcroPDDoc
        Dim jso As Object
        Dim Item As Object
        Dim Atmt As Attachment
        Dim filename As String
        'Dim i As Integer
        Dim myOrt As String ' Added 13/1/2010
        Set objApp = CreateObject("Outlook.Application")
        Set objNS = objApp.GetNamespace("MAPI")
        Set objFolder = objNS.PickFolder
    ' Check subfolder for messages and exit of none found
        If objFolder.Items.Count = 0 Then
        'If SubFolder.Items.Count = 0 Then
            MsgBox "There is no Feedback emails in this folder.", vbInformation, _
                   "Nothing Found"
            Exit Sub
        End If
    ' Check each message for attachments
        Set objExcel = CreateObject("Excel.Application")
        Set oBook = objExcel.Workbooks.Open("G:\Path\Filename.xls")
        Set oSheet = objExcel.Worksheets(1)
        oSheet.Range("A2").Select
        Set gApp = CreateObject("AcroExch.App") ' make acrobat session
        Set pdDoc = CreateObject("AcroExch.PDDoc")
        Set jso = pdDoc.GetJSObject ' set the Javascript object via this way we can fill in the PDF document fields
        For Each Item In objFolder.Items
            For Each Atmt In Item.Attachments
                If Right(Atmt.filename, 3) = "pdf" Then
                    Do
                    If IsEmpty(objExcel.ActiveCell) = False Then
                        objExcel.ActiveCell.Offset(1, 0).Select
                    End If
                    Loop Until IsEmpty(objExcel.ActiveCell) = True
                        objExcel.ActiveCell.value = jso.getField("CurrentDocDate").value
                        objExcel.ActiveCell.Offset(0, 1).value = Item.Session.CurrentUser
                        objExcel.ActiveCell.Offset(0, 2).value = jso.getField("txtJobNo").value
                        objExcel.ActiveCell.Offset(0, 3).value = jso.getField("rbStatus").value
                        objExcel.ActiveCell.Offset(0, 4).value = jso.getField("rbFeedback").value
                        objExcel.ActiveCell.Offset(0, 5).value = jso.getField("txtComments").value
                End If
            Next Atmt
        Next Item
        oBook.Save
        objExcel.Quit
    Feedback_exit:
        Set Atmt = Nothing
        Set Item = Nothing
        Set objNS = Nothing
        Set pdDoc = Nothing
        Set objExcel = Nothing
        Set jso = Nothing
        Exit Sub
    ' Handle Errors
    Feedback_err:
        MsgBox "An unexpected error has occurred." _
            & vbCrLf & "Please note and report the following information." _
            & vbCrLf & "Macro Name: Feedback" _
            & vbCrLf & "Error Number: " & Err.Number _
            & vbCrLf & "Error Description: " & Err.Description _
            , vbCritical, "Error!"
    Resume Feedback_exit
    End Sub
    I get a vba error 91 "Object Variable or With  block variable not set"
    Cheers
    Ben

    hi Phani,
    with regard to your problem I would suggest you to please go thru this link.
    Hope this would be helpful to you.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/offline%20interactive%20pdf%20form%20using%20e-mail.pdf
    Thanks,
    kris

  • Fill in PDF forms

    I have some forms that can be filled in and saved using adobe PDF reader.  When I open them on my playbook, I can't type into any of the feilds.  Is there anyway around this?
    Thanks

    Welcome to my world, yes we do need some one to figure it out how we can use fill in PDF forms. I consider my self some what knowledgeable about fill in forms, be cause I create many of them and some of them with java script. The only forms or sheets you can manipulate and save on your PlayBook is Word and Excel. PDF form you can only read them not save them but of course you can e-mail them from Playbook as attachments. I think what's happening is when we upload PDF forms to the Smart Phone or the Play Book it is arriving FLATTEN.
    I believe ADOBE should look in to this matter why the fill form arriving to Playbook or Smartphone FLATTEND.
    If any one knows how lets have it.....
    Varouj

  • Creating a PDF form from a docx or xlsx

    Hello,
    Pulling my hair out over here... Can you help me out?
    I am trying to create a PDF form from either a word or an excel file.
    When I choose File > Create > PDF Form, I get the dialouge box asking to use either a file or scan from paper. Choosing file, then hitting next shows the choice of current document or browse for file. I browse for file, find my docx file, but it shaded out. Docx or xlsx does not appear in the "show" drop down below, which suggests that this function doesn't support these formats. HUH?
    I have read & watched the tutorials linked below, both of which clearly say Word and Excel are supported.
    http://help.adobe.com/en_US/acrobat/pro/using/WSB3F26303-0F1D-494a-BC55-7BF7F6684B4D.html
    http://tv.adobe.com/watch/learn-acrobat-x/getting-started-creating-simple-forms/
    Then I noticed a difference in the create window from the video, to my version...
    The video says "(PDF, Word, Excel or other file format)":
    My pop-up says ONLY PDF:
    Whats going on?
    I am using:
    MAC OSX 10.7.4
    Office 2011 MAC
    Acrobat X Pro 10.1.3
    Only way I can create a Form from Word files is to first print it to PDF, then use the form wizard on the PDF file... Which seems to have POOR results in auto-recognizing fields.
    PLEASE HELP Adobe!
    Thanks.

    I just got Acrobat X for my mac, for a class.  I am SO frustrated.  Almost everything in the class focuses on PDFMaker options.   The 'save as adobe pdf' or save as pdf options have zero functionality.  So I now own PDF software that doesn't really function on a MAC, and have to go to a windows machine.  I keep reading that it is a Microsoft problem, but I don't know how that can be when the software I thought I bought is this fancy PDF software that converts everything!!
    I asked a tech today if there were 'any' adobe work-arounds for this and basically the answer is to save PDF with no attribute functionality.  Period.
    Wasted $$ for me

Maybe you are looking for

  • Can the aTV read files from an iTunes library on my nas drive without my computer being on

    I have my itunes library on a My Book Live nas drive that contains all of my digital movies and TV shows. I want to be able to watch my movies from the library without a computer running. I understand that Apple has chosen to chain you to the compute

  • How to calculate number of days from a date field

    Dear BW Experts. I have a field 'Create Date' in the BEx query. Now we need to create a variable which should give the number of days from the date of running the query (sy-datum) to the Create Date. This will help the users to get records which are

  • Netbeans(java.exe) chewing up CPU

    [Please excuse me if this shows up twice but after make my last post this thread never showed up!] Hello, everytime I run an emu, no matter which one including wtk, netbeans java.exe starts chewing up lots of CPU time it's like at 98percent and nb co

  • Battery trouble with first ipod!!

    apologies if i have posted in the wrong section...just new. have just aquired one of the first ipod models 40gb. the battery is lasting for a half hour only!! Is it possible to purchase a new battery? any advice/help appretiated...many thanks claire

  • Can't change xslx document in cv02n.

    Hi all, I am using Office 2007 together witj the xlsx extension in cv02n on SAP ECC 6.0 EHP4. As I know, if I open a file in cv02n this file is copied to a temporary location where I can modify it. Than, after saving the file is checked in to cv02n a