+ Reply to Thread
Results 1 to 5 of 5

CASE objective in blan cell

  1. #1
    Registered User
    Join Date
    09-20-2022
    Location
    Canada
    MS-Off Ver
    Microsoft Office 2019
    Posts
    33

    CASE objective in blan cell

    Hello,
    i am practicing the CASE objective in VBA code. When i click in B5(Blank cell) it shows message <21.
    So what will i add if i click in blank cell then it should shows message Blank ?

    Attached file
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: CASE objective in blan cell

    Hi ZaynHan,

    Put this as the first argument:

    Please Login or Register  to view this content.
    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Registered User
    Join Date
    09-20-2022
    Location
    Canada
    MS-Off Ver
    Microsoft Office 2019
    Posts
    33

    Re: CASE objective in blan cell

    Thank you so much. Appreciate it.

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: CASE objective in blan cell

    You're welcome and thanks for the rep

  5. #5
    Registered User
    Join Date
    09-20-2022
    Location
    Canada
    MS-Off Ver
    Microsoft Office 2019
    Posts
    33

    Re: CASE objective in blan cell

    When checking blank cells for "Age" the response is either >90 or younger than 21 when I want it to say "Blank Field"

    Attached file
    Attached Files Attached Files
    Last edited by Han_05; 02-08-2023 at 11:23 AM.

+ 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. Objective cell contents must be a formula
    By Vnz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-23-2021, 11:53 PM
  2. [SOLVED] IF function to count non blan cells in row
    By Ted Dennis in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-08-2017, 04:23 AM
  3. Trying to set objective cell of opensolver on VBA
    By lucasar in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-23-2016, 03:40 PM
  4. [SOLVED] Replace blan with zero
    By Khaldon in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-28-2016, 09:17 AM
  5. Write a subroutine in a module to change case upon exit of a cell to upper case
    By Stephd22 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2013, 06:39 PM
  6. [SOLVED] using solver to set objective to value of another cell
    By will.girling in forum Excel General
    Replies: 2
    Last Post: 11-26-2013, 10:00 AM
  7. [SOLVED] How to avoid when linked source data is changed, chart turns blan.
    By Chris S (Belgium) in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-09-2006, 09:15 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