+ Reply to Thread
Results 1 to 2 of 2

Cut, paste from sheet 1 to sheet 2 on Yes No criteria

  1. #1
    Registered User
    Join Date
    07-28-2010
    Location
    Belfast
    MS-Off Ver
    Excel 2003
    Posts
    2

    Cut, paste from sheet 1 to sheet 2 on Yes No criteria

    Hi Im struggling to create a macro to cut a row from my "Current" sheet to my "Completed" once completed in the response to a "Yes or No" criteria
    Row one contains Headings
    Rows 2 to 13 contain the data

    Anyone have any ideas or a code that would do this? i have created a userform button to do this but i need it to open automatically on the opening of the spreadsheet.

    Thanks!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Cut, paste from sheet 1 to sheet 2 on Yes No criteria

    I would recommend you not use a button, but rather use an "activation" event macro that does it when the workbook opens, and whenever you bring up the Completed sheet onscreen. Just looking at the sheet would bring over any items from the first sheet.

    An AutoFilter would be the way to accomplish this, autofilter on row1, filter the "yes/no" column for the "yes" and then cut all visible rows to the completed sheet.

    Click GO ADVANCED and use the paperclip icon to post up a desensitized copy of your workbook. I can help create something specific for you with that.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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