+ Reply to Thread
Results 1 to 2 of 2

Macro to export cells to word doc

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    Melbourne
    MS-Off Ver
    Excel 2007
    Posts
    23

    Macro to export cells to word doc

    Hi,

    I'm currently running a project at work where I have a column of words (in alphabetical order).

    I'm trying to create a macro that will 1) create (and automatically save) a word document for each letter (A.doc, B.doc, C.doc) and then 2) copy in the words starting with each letter, but also 3) as part of a template that's located in another cell.

    To try explain further:

    Template Cell: Hi my name is

    Name:
    Aaron
    Andrew
    Bob
    Steven
    Ted

    a.doc would contain the text

    "Hi my name is Aaron
    Hi my name is Andrew"

    Apologies is this is very simple, but this aspect of vb programming is very new to me!

    Any help would be greatly appreciated

    thanks,

    Andrew
    Last edited by aserle; 07-24-2013 at 04:30 AM.

  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: Macro to export cells to word doc

    Hi Andrew
    With the limited information you have provided I would suggest that you don't need a Macro. What you need to do is use Mail Merge within MS Word using your Excel worksheet as the data source.
    Tony

+ 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. [SOLVED] Macro to Export Word Tables to Excel
    By WesternGal in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-16-2018, 05:08 AM
  2. Replies: 4
    Last Post: 07-18-2013, 06:29 AM
  3. export/copy excel cells to Word
    By Salim in forum Excel General
    Replies: 1
    Last Post: 04-23-2006, 03:09 AM
  4. [SOLVED] export excel plots in to word using a macro
    By Hawse in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-30-2005, 04:05 PM
  5. [SOLVED] export excel data to a word template using a macro
    By Ross1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2005, 01:06 AM

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