We help IT Professionals succeed at work.
Get Started

How do I get Excel to export data to Word templates and save individual documents as both word and PDF document

Last Modified: 2016-02-11
I currently have an excel spreadsheet which contains data that is entered via a form designed using excel VBA. This form allows a user to enter data once but populate 2 different worksheets which are formatted in different ways in order to facilitate the production of 2 different word documents.
I currently have the code working within Excel to handle the data entry into the spreadsheet and data is being populated as required.
What I need to do is push this information from the individual worksheets to a corresponding word template and save individual copies of the produced documents to the local hard drive as both a word document and a PDF file.
I have a tried a few ways to do this but I am running into a number of issues which have caused me to add/edit and delete code over the last few days and I'm still getting nowhere.
Any help or direction that someone can give me in order to get the automation process working would be very much appreciated.
Watch Question
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE