+ Reply to Thread
Results 1 to 5 of 5

Select case where value is numeric then select other cases

  1. #1
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,347

    Select case where value is numeric then select other cases

    When writing a select case statement can I have a
    select case "is numeric" ?

    something like

    Please Login or Register  to view this content.

    I tried doing a number range but it included things like 2ft when I only want numbers not things like '2ft' etc

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,719

    Re: Select case where value is numeric then select other cases

    Is this helpful?

    https://msdn.microsoft.com/en-us/library/cy37t14y.aspx
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Select case where value is numeric then select other cases

    One way.
    e.g.
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,347

    Re: Select case where value is numeric then select other cases

    thanks Jindon that did the job.

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Select case where value is numeric then select other cases

    You are welcome and thanks for the rep.

+ 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. [SOLVED] Getting compile error 'end select without select case'
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-22-2014, 01:57 AM
  2. [SOLVED] Select Case - End select issue
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-31-2013, 02:07 PM
  3. [SOLVED] End Select without Select Case on vbYesNoCancel
    By jshaw82 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-08-2013, 05:02 PM
  4. [SOLVED] Error: End Select without Select Case
    By RGrunden in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-28-2012, 02:34 PM
  5. Case Select compile error "Case without case select"
    By coasterman in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2012, 06:50 AM
  6. Select Cases and Comboboxes
    By AnthonyWB in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-12-2011, 11:13 PM
  7. Case Select....The alternative method for long "Select Case"
    By kimyap in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-22-2008, 01:24 AM

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