Solved

Excel to PDF Form Merge Save Print

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

708 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

13 Experts available now in Live!

Get 1:1 Help Now