+ Reply to Thread
Results 1 to 4 of 4

Message box that returns a cell value if a criteria is met.

  1. #1
    Registered User
    Join Date
    09-02-2012
    Location
    Staffordshire, England
    MS-Off Ver
    Excel 2007
    Posts
    42

    Message box that returns a cell value if a criteria is met.

    Hello,

    I have the following code:

    Please Login or Register  to view this content.
    This section
    Please Login or Register  to view this content.
    returns the cell that the date has passed in.

    I would like it to return a different cell value in the message box, for example if J4 has passed its date, then B4 cell value is put in the message box instead.

    Thank you for the help in advanced.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Message box that returns a cell value if a criteria is met.

    How about:

    Please Login or Register  to view this content.
    Gary's Student

  3. #3
    Registered User
    Join Date
    09-02-2012
    Location
    Staffordshire, England
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Message box that returns a cell value if a criteria is met.

    Thank you for your response but that only returns B9 in the message box. If cell B9 contains Joe Bloggs, I would like to say Please review the date for Joe Bloggs......

  4. #4
    Registered User
    Join Date
    09-02-2012
    Location
    Staffordshire, England
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Message box that returns a cell value if a criteria is met.

    I have sorted it now. I have used:

    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. Advanced Filter : One Criteria Cell Breaks the Filter - Returns Only Headers
    By PaulGW in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2014, 10:06 AM
  2. Excel 2007: A Macro created to run Solver returns error message
    By chrys_t in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-22-2014, 08:45 PM
  3. [SOLVED] IF Formula returns #N/A even when criteria if criteria not met
    By Ellice16 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-11-2013, 10:51 PM
  4. Create message box alert when a cell value within a range reaches a certain criteria
    By Richard Myers in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-16-2013, 07:09 AM
  5. Lookup returns message box when an exact match is not found
    By JFeeman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2005, 04: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