+ Reply to Thread
Results 1 to 3 of 3

Create Multiple Word Files from Template with Excel Inputs

  1. #1
    Registered User
    Join Date
    10-20-2015
    Location
    Pune, India
    MS-Off Ver
    2010
    Posts
    2

    Post Create Multiple Word Files from Template with Excel Inputs

    Hello,

    I'm facing one situation.

    I have customized one MS Word template for Part specifications.
    I have a long list of Parts in an Excel for which I need to create Part Specifications in Word, each with it's own specification document.
    I work with Excel VBA on & off but never worked with interfacing of Word & Excel.
    Here's my specific requirement:
    1. I Open my List of Parts in Excel
    2. Run the Macro.
    3. Macro Asks for the First Reference Row
    4. The Macro seeks the Word template.
    5. Creates a file -> New from Existing with this Template
    6. Inserts Data from the Excel Reference Row to specified location in the newly created word document.
    7. Performs a 'Save As' on the newly created Word Document & Renames it with specified data from the reference row in Excel.
    8. Moves on to the next Row in Excel.
    9. Repeats 4-8 until the range A'i' is empty.

    I've been trying to work on the macro, but it's turning out to be a nightmare (I'm still a beginner) & I have to finish the list this week. I'd really appreciate the help.

    Thank you,

    Cheers,
    Gajanan

  2. #2
    Registered User
    Join Date
    11-25-2013
    Location
    Western Australia
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: Create Multiple Word Files from Template with Excel Inputs

    Hi Gajanan,

    Have you tried using Word's Mailmerge feature to achieve this? This will merge data from each of the Excel rows (which can be filtered) into one large Word document (one copy of the template for each row in the spreadsheet).

    Then, you can use the macro from the second post on https://social.msdn.microsoft.com/Fo...dividual-files to split the large Word document into separate ones.

    Larena

  3. #3
    Registered User
    Join Date
    10-20-2015
    Location
    Pune, India
    MS-Off Ver
    2010
    Posts
    2

    Re: Create Multiple Word Files from Template with Excel Inputs

    Hi Larena,

    Thanks for your reply.

    I don't really work with Word that much. It's occasional & not repetitive. So, I never really looked into automation of tasks in word. This is the first time. Never used Mail Merge. I'll give it a try & let you know if it works.

    Cheers,
    Gajanan
    Last edited by gajanann; 10-21-2015 at 09:09 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How to create word template with data from excel
    By gerimo in forum Word Formatting & General
    Replies: 1
    Last Post: 02-19-2015, 07:06 AM
  2. How to import data into Word template from excel workbook with multiple sheets
    By malikman in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-26-2014, 07:51 PM
  3. Replies: 2
    Last Post: 02-14-2014, 01:39 PM
  4. How to create multiple word documents using data from multiple excel files.
    By Milan Kotus in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-14-2013, 12:07 PM
  5. Create Word Template from Excel Spreadsheet
    By drosen99 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2012, 12:24 PM
  6. Create a word template including header and footer from excel
    By priyamvada in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-14-2010, 12:51 AM
  7. Import cells from excel into word and create multiple word docs
    By scdaddy7269 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2006, 03:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1