Solved

Excel to PDF Form Merge Save Print

Posted on 2012-03-15
4
339 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
  • 3
4 Comments
 
LVL 41

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 41

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 41

Expert Comment

by:dlmille
ID: 37753973
Make any headway?

Dave
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
Outlook Free & Paid Tools
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

813 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

17 Experts available now in Live!

Get 1:1 Help Now