+ Reply to Thread
Results 1 to 6 of 6

VBA code to create summary sheet

  1. #1
    Registered User
    Join Date
    10-11-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    13

    VBA code to create summary sheet

    Hey all,

    I'm very new to macros, but need to create one to automatically copy over certain cells from rows to another sheet when a criteria in that row is met.

    I have 2 sheets one called Campaign Status and one called Post Campaign Tracker. When someone changes a value in column H on the Campaign Status to "Done" or "Proactive Done" I want certain cells from that row to automatically populate the Post Campaign Tracker. The Post Campaign Tracker is essentially a summary sheet of all done campaigns. Each time this happens I want it to only add new rows to the bottom or clear the existing data and repaste.

    I've attached a sample document with the main information. I want only cells A, C, D, G and K in each row to be copied over to the Post Campaign Tracker if "Done" or "Proactive Done" are selected in column H on the Campaign Status.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA code to create summary sheet

    See if this does what you want.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-11-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    13

    Re: VBA code to create summary sheet

    Hey John, thanks for the help works like a treat!!

    Is there a way of making it so that if the Status then changes from Done or Proactive - Done back to something else that it gets removed from the Post Campaign Tracker sheet?

    Thanks
    Oscar

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA code to create summary sheet

    See if this works for you.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-11-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    13

    Re: VBA code to create summary sheet

    Works an absolute charm, thanks so much for your help John!!

    Thanks
    Oscar

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA code to create summary sheet

    You're welcome. Glad to help out and thanks for the feedback. Please refer too the rules link below and mark this thread as SOLVED.

    http://www.excelforum.com/forum-rule...rum-rules.html

+ 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 a Summary Sheet, PLEASE HELP ME
    By k.shais1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-28-2014, 01:48 PM
  2. Create a summary from multiple sheets on a master/summary sheet
    By detribus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-07-2012, 08:04 PM
  3. Create a summary sheet
    By nandomer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-05-2011, 12:44 PM
  4. VBA Code to create summary table and Chart
    By KPK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2010, 05:40 AM
  5. Create a summary sheet
    By excel-with-excel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-26-2010, 12:27 PM
  6. How to create summary sheet
    By RDSProgrammer in forum Excel General
    Replies: 10
    Last Post: 08-28-2007, 02:44 PM
  7. Create Summary Sheet
    By AliH in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2005, 04:05 AM

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