Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: deleting rows not containing data found in table

  1. #1
    Board Regular
    Join Date
    May 2002
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I have a macro that opens a file and cusotm sorts according a custom sort list. This brings all my wanted data to the top of the sheet. I would like to delete all the rows with data that is not part of the sort list. Is it possible?

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Brampton
    Posts
    328
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I think that what you need is to filter/advanced filter the set of data. This way you can select what data you need left for further processing. By sorting a set of data, all records remain in your list but rearranged.

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Posts
    3,184
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Post you script up on the board, i and many will look at it for you and make some edits and amendments to try a get the code to do as you wish.
    Free Excel based Web Toolbar available here.

    Jack in the UK
    J & R Excel Solutions
    "making Excel work for you"

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •