+ Reply to Thread
Results 1 to 2 of 2

VBA code to split a Word Document and save it with a specified name

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    66

    Question VBA code to split a Word Document and save it with a specified name

    I have created a template in MS Word which I use to Mail Merge with the data that I have in Excel
    column A in the excel consists the names of the people to which the document is addressed which populates in the word document as "NAME: MR. HARRY POTTER"

    Since all the recipients are in 1 mail merged document I have to individually save a document per recipient.

    Is there any VBA code that can help me split the document with the help of a delimiter (a special character which will be at the end of every individual recipients document) and then save it with the data that consists in the Column A of the Excel Spreadsheet or from the document itself i.e. "NAME: MR. HARRY POTTER".

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: VBA code to split a Word Document and save it with a specified name

    Hi
    Have a look at this link:

    http://answers.microsoft.com/en-us/o...b-fef5f7e79eb5

    Good luck.
    Tony

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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