+ Reply to Thread
Results 1 to 4 of 4

select copy with criteria

  1. #1
    Registered User
    Join Date
    10-10-2013
    Location
    norfolk
    MS-Off Ver
    Excel 2007
    Posts
    28

    select copy with criteria

    Hello,

    I have 5 columns of data.

    I would wish to copy the entire row to a new sheet if column A (Type) has a 2H or 4H in front of it. However i would only like to copy the row if the corresponding Column E(number) is equal to or greater than 50.

    I wish to do this in VBA. This would be repeated for each row.I would then end up with the contents as on sheet 2.

    Please could i have some help?
    Attached Files Attached Files
    Last edited by jetset1; 11-15-2013 at 05:19 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2404 Win 11 Home 64 Bit
    Posts
    23,857

    Re: copy if

    Try this out:

    Please Login or Register  to view this content.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: copy if

    I think the title heading is not right and you are more likely to be asked to change it.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-10-2013
    Location
    norfolk
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: copy if

    Genuis Alan many thanks for your help

    Wish you the very best


    Quote Originally Posted by alansidman View Post
    Try this out:

    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)

Similar Threads

  1. Save copy as, open copy, alter copy, save copy and close copy
    By tradinup2 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-03-2013, 04:42 PM
  2. Macro to copy Dyanmic lists then copy sheet and clear the original data
    By twiggywales in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-30-2012, 01:06 PM
  3. [SOLVED] macro error Copy Time format to other Worksheet and continues copy range
    By feroguz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-25-2012, 01:30 PM
  4. Copy one cell to an other but colors do not copy. While not using clipboard to copy.
    By chuckchuckit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-19-2010, 03:08 AM
  5. EXCEL FILE a copy/a copy/a copy ....filename
    By ve in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-29-2005, 05:05 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