Solved

Excel to PDF Form Merge Save Print

Posted on 2012-03-15
4
346 Views
Last Modified: 2012-04-12
I would like an Excel (VBA) macro that merges select Excel records with a PDF Form and sends to printer, and optionally saving the PDF file(s).  Saved file(s) to be given unique, sequentially numbered filename(s).

Fieldnames to be derived from left-most contiguous cells of first row of worksheet.  

Record(s) to print to be a choice of a) 'All Records'; or b) 'Selected Records'.  If 'All Records' is chosen, it is to be assumed that the first record is Row 2 and the last record is the last contiguous row with data in Column 1.
0
Comment
Question by:alanpowell2007
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 42

Assisted Solution

by:dlmille
dlmille earned 500 total points
ID: 37727824
Is putting your form in Word an option?  IMHO coding in Office is 10 times easier and if you have Adobe writer or at least Office 2007, printing to PDF is a breeze.

Let me know.

Otherwise, post your PDF form and I assume you have Acrobat Pro?

Dave
0
 

Author Comment

by:alanpowell2007
ID: 37729291
I would rather use Word, but my brother and I are still debating over that one. The form I have now is just a generic form I made to work with (column1, Column2,...Column5. He has a few standard pdf forms that he uses, but... for now, I need it know if it is possible, and how.

I do have AcrobatX pro, though.

Alan
0
 
LVL 42

Accepted Solution

by:
dlmille earned 500 total points
ID: 37731171
Word should work great and I even have written an article with supporting utility on that.

Check this out:
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/A_8933-How-to-quickly-and-accurately-populate-Word-documents-with-Excel-data-charts-and-images-including-Automated-Bookmark-generation.html

I think its much easier to develop forms in Word than otherwise.

Is it possible with Acrobat - yes, but not easy unless you find an Expert/Pro who's familiar with the Acrobat object model.  I've done some small work in this area, but no where near having a general purpose tool like the one I posted, above.

PS - if you think the article helpful, please vote YES!

Dave
0
 
LVL 42

Expert Comment

by:dlmille
ID: 37753973
Make any headway?

Dave
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

630 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