+ Reply to Thread
Results 1 to 6 of 6

Msg Box for cell value being Null

  1. #1
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Msg Box for cell value being Null

    I have an excel template, werein Cell ( C23 ) is base on the value entered C ( 9 )

    In case if C9 does not reflect a resullt ( NULL ) in C23, i need a message box with a custom message...

  2. #2
    Registered User
    Join Date
    05-19-2014
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Msg Box for cell value being Null

    Hello,

    Try this:

    Use this formula in Cell C23: =IF(C9="","",C9)

    and use this code VBA:

    Please Login or Register  to view this content.
    Regards,

    Alvaro

  3. #3
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: Msg Box for cell value being Null

    Thanks Alvaro for the rep...

    I do not want an else.... I just need a messgae for null value

  4. #4
    Registered User
    Join Date
    05-19-2014
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Msg Box for cell value being Null

    You are welcome!

    In that case, do the following:

    Use this formula in Cell C23: =IF(C9="","",C9)

    and use this code VBA:

    Please Login or Register  to view this content.
    You can write whatever you want instead of "The cell is empty".

    I hope this can help you!

    Alvaro

  5. #5
    Forum Contributor
    Join Date
    06-12-2014
    Location
    India
    MS-Off Ver
    2010
    Posts
    153

    Re: Msg Box for cell value being Null

    Thanks for the quick response.... Please give me few min and I can share the excel for me to explain better... sorry for the inconvnce

  6. #6
    Registered User
    Join Date
    05-19-2014
    Location
    Berlin, Germany
    MS-Off Ver
    Excel 2013
    Posts
    8

    Re: Msg Box for cell value being Null

    Ok, No problem!!

+ 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. Replies: 4
    Last Post: 05-20-2014, 01:05 PM
  2. How to work with Null and Not Null Vales
    By frankee_gee in forum Excel General
    Replies: 1
    Last Post: 10-15-2009, 03:46 AM
  3. Code to replace null and not null strings
    By tigertim71 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2008, 05:07 PM
  4. Advanced filter - display null or non-null
    By Duddles in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-2008, 11:17 PM
  5. cell value based on null/not null in another cell
    By spence in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-18-2006, 07:55 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