+ Reply to Thread
Results 1 to 2 of 2

Copy rows that meet a certain criteria

  1. #1
    James
    Guest

    Copy rows that meet a certain criteria

    Is there a way to select all rows in a list that contain a "yes" in the
    first column of that list? I want a macro to copy only those rows with a
    "yes" in the first column and paste those rows to another worksheet.



  2. #2
    Leonardo
    Guest

    Re: Copy rows that meet a certain criteria

    Columns("A:A").Select
    Selection.AutoFilter
    Selection.AutoFilter Field:=1, Criteria1:="YES"
    Selection.Copy
    Sheets("Hoja2").Select
    ActiveSheet.Paste


    James wrote:
    > Is there a way to select all rows in a list that contain a "yes" in the
    > first column of that list? I want a macro to copy only those rows with a
    > "yes" in the first column and paste those rows to another worksheet.



+ 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