+ Reply to Thread
Results 1 to 2 of 2

Macro about detecting null and something else

  1. #1
    Registered User
    Join Date
    07-01-2019
    Location
    Taipei
    MS-Off Ver
    2016
    Posts
    1

    Question Macro about detecting null and something else

    Hi All,


    I have a question about Macros.

    I want to make sure that every cell in Tel No have values so i want to create a Macro to detect
    which cell contains NULL values and if it does,insert a number "1" in there to instead of null values

    1.PNG


    Can anyone help me with that? Thanks in advanced!!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,869

    Re: Macro about detecting null and something else

    Welcome to the forum!

    If this is a one-off, it can be done with Find & Replace: find empty, replace with 1, set to look at entire cell contents.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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. VBA/MACRO for Auto detecting rows with items passing certain criterias
    By acerlaptop in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-17-2020, 04:07 AM
  2. Macro detecting the the sheet name in the cell
    By jesslynn in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2015, 06:37 AM
  3. Count rows with multiple null and not null criteria
    By carlostheba in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-28-2014, 05:16 AM
  4. Macro not detecting blank cells
    By milanbarosh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2013, 04:43 AM
  5. 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
  6. 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
  7. Advanced filter - display null or non-null
    By Duddles in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-2008, 11:17 PM

Tags for this Thread

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