+ Reply to Thread
Results 1 to 4 of 4

Copy and Paste IF Macro

  1. #1
    Registered User
    Join Date
    09-29-2011
    Location
    Georgia
    MS-Off Ver
    Excel 2007
    Posts
    29

    Copy and Paste IF Macro

    I am looking to write a macro that will do 3 things

    1. Copy and paste recently added - that is not yet complete - data from a table (anything added within the past 3 days)
    2. Copy and paste recently completed data (anything completed within the past 3 days)
    3. Copy and paste the most recent "Key to Key" input

    Looking at the Input Tab:

    #1 would copy based on the input in column B -as long as M, or I, has not been completed yet.
    #2 would copy based on the input in column M or I - whichever is easiest
    #3 would copy based on the input in column D being "Key to Key" and the input in column B being closest to today's date

    Both of these would then be copied into their respective areas in the "Key to Key" tab.

    The problem is - I know this should be fairly simple but I can not seem to get it to work like I want it to for anything. Can anyone help?


    Help Version.xls

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy and Paste IF Macro

    Hi Sweedey,

    I may have something for you tomorrow - I think I know what you want - but, from me, it will be a VBA solution
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    09-29-2011
    Location
    Georgia
    MS-Off Ver
    Excel 2007
    Posts
    29

    Re: Copy and Paste IF Macro

    anything that will get the job done is more than welcome! I appreciate any help I can get on this! Thanks!

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Copy and Paste IF Macro

    Hi Sweedey,

    Try this:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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