+ Reply to Thread
Results 1 to 2 of 2

Using Select Case on a range of cells?

  1. #1
    Registered User
    Join Date
    12-08-2010
    Location
    London
    MS-Off Ver
    Excel 2010/13
    Posts
    1

    Using Select Case on a range of cells?

    Hello everyone,

    I'm stumbled on a bit of a problem, I'm testing a row/range on sheet to determine if one of the cells contains a string I'm looking for.

    The code is as follows:
    Please Login or Register  to view this content.
    Apologies for the messy Range statement, the number of populated columns on each row is dynamic.
    When running the code it just skips past the row that contains a cell with the appropriate string.

    Is this approach possible with tweaking? Or will I have to code to manually test each cell in sequence?

    Thanks for your time.

    Adam

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Using Select Case on a range of cells?

    Not sure if this will work for you or not.

    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. Select case on range name
    By mcinnes01 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-10-2011, 11:26 AM
  2. Select Case in a Range
    By prairied0gg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-12-2010, 03:30 PM
  3. Select case using a range
    By sigfreid in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-31-2009, 09:17 AM
  4. [SOLVED] Select Case on a range - problem
    By cdb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-11-2005, 10:06 AM
  5. case select and a range
    By JT in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2005, 07:06 PM

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