+ Reply to Thread
Results 1 to 4 of 4

pointers on a vba code that works like a "mail merge" to keep it all in excel

  1. #1
    Registered User
    Join Date
    09-06-2013
    Location
    Kelowna, BC
    MS-Off Ver
    Excel 2010
    Posts
    2

    pointers on a vba code that works like a "mail merge" to keep it all in excel

    Hi, I am a new excel user and I am having troubles making a macro to take the information from a master client list sheet and copy it to their individual client work sheets from a template sheet. I need something that will automatically copy my template sheet and then take the respective cells from my master list sheet and copy it to the specific cells on the newly copied template, then copy a new template sheet and proceed to the next row/client. It's like a mail merge, but I need it all to happen in excel.

    I have made a fake workbook to show exactly what I am working with...just on a way bigger scale.

    P.S. If there is a way to automatically name the newly copied template as the corresponding client name that would be great too...maybe I'm asking too much.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: pointers on a vba code that works like a "mail merge" to keep it all in excel

    Hello,

    Please look at the code below and see if it helps.

    Please Login or Register  to view this content.
    Thanks always run the sub "CreateSheets_WithNames"

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: pointers on a vba code that works like a "mail merge" to keep it all in excel

    Try

    Alter column reference to suite if it is needed.
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-06-2013
    Location
    Kelowna, BC
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: pointers on a vba code that works like a "mail merge" to keep it all in excel

    Wow, that works great, thanks so much!

+ 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. Replies: 0
    Last Post: 11-20-2012, 10:22 AM
  2. vba code: value of a variable which is stored in a variable ( equal to Pointers in "C")
    By vidyuthrajesh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-18-2012, 04:24 PM
  3. Replies: 2
    Last Post: 01-27-2011, 12:14 PM
  4. [SOLVED] Mail Merge drops 1st digit ("0") converting from Excel to Word
    By Chuck Martini in forum Excel General
    Replies: 3
    Last Post: 08-07-2006, 05:40 PM
  5. Replies: 3
    Last Post: 08-03-2006, 05:00 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