+ Reply to Thread
Results 1 to 4 of 4

Automatic copy of VBA to mail merged letters

  1. #1
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2013
    Posts
    177

    Automatic copy of VBA to mail merged letters

    Reposted from incorrect section (LINK)

    Hello all,
    I have a set of code that colours cells based on their values (MMY/MMI/MMN), to show students whether they have completed a task or not. The code is stored in the mail merge document itself, but when I run the merge and the new 'letters' are created the code has to be manually copied into the VBA window. Is there a way of automatically inserting the VBA into the mail merged letters as some non-techhies will be using this system!

    Many thanks

    Luke

    Please Login or Register  to view this content.
    Update 22/5 - cross posted at http://www.vbaexpress.com/forum/show...762#post309762

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Automatic copy of VBA to mail merged letters

    IMHO it's extremely rude of you to go cross-posting here after you've already been given an answer there!
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    Forum Contributor
    Join Date
    07-30-2012
    Location
    Leeds
    MS-Off Ver
    Excel 2013
    Posts
    177

    Re: Automatic copy of VBA to mail merged letters

    Difference of opinion. I am struggling to understand your solution and your last post advised 'its easy', which I am not finding it. Any other solutions welcome.

  4. #4
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Automatic copy of VBA to mail merged letters

    Have you actually tried it? All it takes is following a few simple instructions! Understanding is not a pre-requisite...

+ 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. Automatically copying VBA to mail merged document
    By lukestkd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-22-2014, 05:31 AM
  2. Missing Text In Mail Merged Field
    By adil.master in forum Word Formatting & General
    Replies: 2
    Last Post: 03-10-2014, 08:34 AM
  3. Replies: 5
    Last Post: 12-30-2012, 10:59 AM
  4. Open mail merged doc from VBA not working
    By comptechbranden in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2007, 10:50 PM
  5. Create merged mail in Excel (*NOT* in Word)?
    By DolfnJudy in forum Excel General
    Replies: 0
    Last Post: 11-08-2005, 09:40 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