+ Reply to Thread
Results 1 to 3 of 3

If the cell value is within a number group then display a message

  1. #1
    Registered User
    Join Date
    01-06-2013
    Location
    New York, EUA
    MS-Off Ver
    Excel 2013
    Posts
    77

    If the cell value is within a number group then display a message

    Hello everybody,

    I need a macro that checks if the the value of a cell is within a group of numbers and, if so, displays a message.

    The following code is not working.

    Please Login or Register  to view this content.
    Any help is welcome.

    Thanks,

    John

  2. #2
    Valued Forum Contributor MaczaQ's Avatar
    Join Date
    06-03-2011
    Location
    Poland
    MS-Off Ver
    Excel 2003 / XP
    Posts
    510

    Re: If the cell value is within a number group then display a message

    maybe this way ?
    Please Login or Register  to view this content.
    Last edited by MaczaQ; 01-29-2013 at 02:27 PM. Reason: one modification
    Best Regards
    MaczaQ
    ---------------------------------------------------------------------------------------------------------------------------
    If you are satisfied with the solution(s) provided, please mark your thread as Solved
    If you are pleased with my answer consider to rate it. To thank someone who has helped you, click on the star icon below their name.
    - This way you will add him some reputation points ... thanks in advance.

  3. #3
    Registered User
    Join Date
    01-06-2013
    Location
    New York, EUA
    MS-Off Ver
    Excel 2013
    Posts
    77

    Re: If the cell value is within a number group then display a message

    Hi MaczaQ,

    It worked fine. Thank you.

    Could you please check why the following code did not work fine too? In fact, instead of displaying a message, I need to copy a range and paste it at another sheet, called "1 + 1 + 1 + 1 + 1". Could you please correct it?

    Please Login or Register  to view this content.
    Thank you again,

    John

+ 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