Results 1 to 6 of 6

How to create a macro that will delete all rows NOT containing specified numbers

Threaded View

  1. #1
    Registered User
    Join Date
    07-03-2008
    Location
    Sweden
    MS-Off Ver
    Office 2011 for MAC
    Posts
    57

    How to create a macro that will delete all rows NOT containing specified numbers

    Hello,
    This is my first post on this forum, so I would just like to say hi to everyone!

    What I need some help with is to create a macro that will seek through a specified column, looking for a couple of specified values. If a cell i that column does not contain any of the specified values, the macro should delete the whole row.

    It would be awsome if it was possible to create an InputBox wich asks the user what column to look in and for wich values to look for.

    (i have managed to create a macro that works for only one value, but not for multiply. I have about 36 values to enter)



    Thanks for your time!

    /M
    Last edited by elmaco12; 07-03-2008 at 05:23 AM.

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