Conversion of Word 2007 fillable form (& associated VBA) to PDF fillable form?

Posted on 2011-05-01
Last Modified: 2012-05-11
I have a Word 2007 form containing  fields encompassing  checkboxes and text boxes.  There is VBA coding behind these  boxes to perform a number of editing routines such as mutually exclusive marking of checkboxes (restricting the user to only check one of three boxes, ... not two or three), requiring a text field to be  completed if a certain checkbox is marked, etc.  The form converts perfectly ... in fact better than the Word version!  However, none of VBA code is converted or carried over into the PDF version.
   Is there any way to  convert the code, short of replacing it with Java scripting?  I'm too old (73) to learn anything new such as Java.  I'm having enough problems  dealing with Access, Word, VBA,  and their associated variations & different versions.
agrpjp, Premium Service Member
Question by:agrpjp
    LVL 76

    Expert Comment

    Oh dear. I don't know the answer, but I hope that I don't stop learning new things next year (when I reach your current age). I do have a problem of paying for new releases of stuff that I had just learned. For instance I had only just bought Office 2007, when 2101 came out.

    However, I think that if Adobe PDF uses VBA as a scripting language, I would have caught some whiff if it by now. Be that as it may, I will research it for you.
    LVL 76

    Expert Comment

    Hmm. It seems that the Adobe PDF scripting language is, in fact, JavaScript as you supposed.

    It may be cold comfort to you, but the few syntax differences between VB and Javascript are easier to learn than the fact that you will be dealing with a different object model in PDF documents.

    Author Comment

    Based upon the above comments and my own research, I don't think that any conversion exists.  However, maybe some "sample" code  exists to accomplish some of the functions I'm looking for.  Does any one know of any webs sites that offer this?
    LVL 76

    Accepted Solution

    You might find something here:
    LVL 31

    Expert Comment

    by:James Murrell
    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    Update 21-May-2015: I temporarily removed the source code to make major changes to the program. Regards, Joe INTRODUCTION This article presents a solution to a question (…
    Have you ever come up with a need of emailing only few pages of PDF file to one of yourfriend or colleague, instead of whole Adobe file? If yes, then surely you have face problems in doing that! Read this section as I have suggested multiple solutio…
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now