Solved

Excel to PDF Form Merge Save Print

Posted on 2012-03-15
4
344 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

Scamming the Scammers!

Have you ever heard of Scam Baiting?
It's a highly entertaining sport that you can participate in.
Introduction to beating scammers at their own game and how you can help
Share your thoughts, ideas and experiences on the topic.
Links to top Anti-Scam resources provided.

Question has a verified solution.

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

Microsoft Office Picture Manager is not included in Office 2013. This comes as a shock to users upgrading from earlier versions of Office, such as 2007 and 2010, where Picture Manager was included as a standard application. This article explains how…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

751 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