+ Reply to Thread
Results 1 to 4 of 4

VBA Help. Cell Highlighting Update and new Problem

  1. #1
    Registered User
    Join Date
    03-11-2021
    Location
    Wales UK
    MS-Off Ver
    Excel
    Posts
    13

    Question VBA Help. Cell Highlighting Update and new Problem

    Hi all,

    Thanks to @Mohadin & @NeedFor Excel (Dave), they managed to resolve the original issue I was having.

    The new issue I'm having is I want to add a new cell colour change If the length value doesn't have a decimal.

    How I want the rules to work is when searching the pattern.

    If a value in column 21 has a value with a decimal (example 754.00) then it would turn green

    If a value in column 21 has a value without a decimal (example 754) Then it would turn yellow

    If there is no value in column 21 then the cells would turn red.

    Here is the code, but I keep getting a Next error message. I have also attached a test document.

    As always any help would be greatly appreciated!!

    Cheers,

    Nick H.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,518

    Re: VBA Help. Cell Highlighting Update and new Problem

    Try
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-11-2021
    Location
    Wales UK
    MS-Off Ver
    Excel
    Posts
    13

    Re: VBA Help. Cell Highlighting Update and new Problem

    Quote Originally Posted by jindon View Post
    Try
    Please Login or Register  to view this content.
    Works a charm! Thanks for your help rep sent

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,190

    Re: VBA Help. Cell Highlighting Update and new Problem

    Don't know the background of your initial request???
    Give this a go...
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

+ 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. Problem with Highlighting certain phrases
    By Excell1677 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-21-2018, 11:20 PM
  2. Highlighting Active Cell/Column/Row Problem
    By Statto in forum Excel General
    Replies: 1
    Last Post: 10-18-2014, 12:08 PM
  3. Problem when trying to update a cell in an external worksheet that is already open
    By BazzaBit in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-14-2013, 06:55 PM
  4. problem highlighting row
    By mehdoush in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-29-2009, 05:35 PM
  5. cell highlighting problem
    By jskamm in forum Excel General
    Replies: 1
    Last Post: 02-25-2008, 06:08 PM
  6. Debug problem when highlighting?
    By Zirus in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2007, 07:47 AM
  7. highlighting problem in excel
    By bookkeeperiam in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-18-2006, 07:40 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