+ Reply to Thread
Results 1 to 5 of 5

Automatically copy data based on 2 criteria

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

    Automatically copy data based on 2 criteria

    Hey,

    I'm very new to using VBA and macros, for the below I've been working with some code i found on Ron De Bruins site.

    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.

    Ron's code that I've been working with is below:

    Please Login or Register  to view this content.

    To get this code to run automatically from the Campaign Status I've added in the below code to that sheet. It includes a datepicker and I can't seem to get the macro that makes the above run automatically to work with the datepicker.

    Please Login or Register  to view this content.
    Any help would be much appreciated, this is for my work.

    Thanks

    Oscar
    Attached Files Attached Files
    Last edited by OscarTheG; 10-12-2016 at 06:11 AM.

  2. #2
    Forum Contributor S O's Avatar
    Join Date
    06-25-2015
    Location
    England
    MS-Off Ver
    Office 2010 + 2013 + 2016
    Posts
    103

    Re: Automatically copy data based on 2 criteria

    Hi Oscar,

    Please edit your post and add code tags where appropriate. You can do this by highlighting the code and pressing the [#] button on your editor toolbar.

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

    Re: Automatically copy data based on 2 criteria

    Sorry first time posting. Hope that's right.

  4. #4
    Forum Contributor S O's Avatar
    Join Date
    06-25-2015
    Location
    England
    MS-Off Ver
    Office 2010 + 2013 + 2016
    Posts
    103

    Re: Automatically copy data based on 2 criteria

    Looks miles better

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

    Re: Automatically copy data based on 2 criteria

    Is nobody able to help out on this?

    Tks

+ 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 fill in data based on multiple criteria from another spreadsheet
    By TrinhTran02 in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 02-12-2015, 03:07 PM
  2. Automatically copying data into a new table based on 2 column criteria
    By gtdread in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-28-2014, 12:25 PM
  3. Replies: 19
    Last Post: 02-27-2014, 02:42 AM
  4. Replies: 2
    Last Post: 01-08-2014, 04:41 PM
  5. Replies: 5
    Last Post: 08-14-2013, 02:41 PM
  6. [SOLVED] Automatically populate a table with slected data based on criteria
    By smithrog in forum Excel General
    Replies: 7
    Last Post: 07-01-2013, 03:52 AM
  7. Automatically copy values based on unique/new criteria from a range
    By djarcadian in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-31-2013, 08:45 PM

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