+ Reply to Thread
Results 1 to 4 of 4

Selecting rows based on data of one column

  1. #1
    Registered User
    Join Date
    08-11-2008
    Location
    Connecticut, USA
    Posts
    41

    Selecting rows based on data of one column

    I have a spreadsheet with a "Product" Column. In that column there is either a "Y", "N", or nothing. Is there a macro that I can use to select all the rows in which the letter N shows up in column "X"? This would be a huge help!


    Example()

    Column X
    N
    N
    N
    N
    Y
    N
    Y
    Y

    N
    Y
    Y

    I need to select all the rows that N shows up in. I need to select eh entire row not just the cells.

    Thanks,





    Matthew Trant, CFO
    The Eastern Connecticut Business Consultants
    Last edited by mtrant; 08-18-2008 at 12:32 PM. Reason: new title

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Again with the selecting

    Tell us what you need to happen with the Rows with N

    Another thing. Your link is consider advertising. Please remove it unless you have permission from the sites Admin

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    08-11-2008
    Location
    Connecticut, USA
    Posts
    41
    I need all the rows that contain "N" in column x to be selected so that I can either move them, color them or delete them.

    Please explain the link situationa little better. I am a partner with ECBC and that is our link. If I am not allowed to post that on my signature please let me know so I can completly remove it.


    Thank you,




    MT

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    PM Simon Lloyd re link and ask him if it's ok

    If you want to move them see link

    http://www.rondebruin.nl/copy5.htm

    if you want to delete them see this link
    http://www.rondebruin.nl/delete.htm

    To colour try something like. Changes row to red

    Please Login or Register  to view this content.
    VBA Noob

+ 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