+ Reply to Thread
Results 1 to 3 of 3

How to use Select Case in a loop

  1. #1
    Registered User
    Join Date
    09-10-2008
    Location
    Texas
    Posts
    3

    How to use Select Case in a loop

    Hi - I've been using the following code which I found here in the forum earlier to delete rows when a value is not present in a cell, but now I need to check for up to 25 possible values in the same cell. In other words if cell i,10 is not equal to one of the Twenty Five values then delete the row. I know it's probaby a select case but I'm pretty much a novice with VBA and can't get any of my Case variations to work.

    Please Login or Register  to view this content.
    Thanks for your help /Mike
    Last edited by mikea3; 11-19-2008 at 09:24 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Mike,

    Please take a few minutes to read the Forum Rules, and then edit your post to wrap your code with Code Tags.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    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)

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