Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel to PDF Form Merge Save Print

Posted on 2012-03-15
4
Medium Priority
?
351 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 42

Assisted Solution

by:dlmille
dlmille earned 1500 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 1500 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
With its various features, Office 365 can not only help you with your day-to-day business tasks, it can also do wonders for your marketing campaign.
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…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

885 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