Closed Thread
Results 1 to 2 of 2

Conditional Formatting cells in a column using VBA

  1. #1
    Forum Contributor
    Join Date
    09-22-2013
    Location
    Sydney, Australia
    MS-Off Ver
    Office 2019
    Posts
    309

    Conditional Formatting cells in a column using VBA

    Hi

    I have some 400 rows in a column (E) that I want to put a Conditional Format in.

    The Conditional Format in E4 is =NOT(ISBLANK(E4)) and highlights A4:D4 if E4 is not blank.

    The condition of E4 depends on the selection of blank or a wingdings Tick from a Named List drop down selection.

    This works fine but I need to have =NOT(ISBLANK(E?)) for each of the other 366 rows in column E so as each row has been completed, the Tick causes the cells in the row beside the relevant E cell to grey out and so on down the sheet until all 366 rows have been completed (Ticked).

    All the advice on the Net (and here) says you can use the Format Painter, but for some reason that doesn't work for me.

    Is there any way that the same thing (i.e. if a cell is not blank then highlight the row beside it) can be achieved using VBA?

    Cheers

    Frankie

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Conditional Formatting cells in a column using VBA

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-for...lls-below.html
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Conditional Formatting for Multiple Cells from one column to the next
    By Cmorgan in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 03-25-2019, 08:00 AM
  2. Replies: 33
    Last Post: 01-19-2018, 03:53 PM
  3. Replies: 6
    Last Post: 04-09-2015, 08:15 AM
  4. Replies: 11
    Last Post: 02-03-2015, 04:16 AM
  5. Replies: 5
    Last Post: 07-12-2013, 01:15 AM
  6. Replies: 0
    Last Post: 03-13-2013, 11:59 AM
  7. Replies: 5
    Last Post: 09-24-2012, 05:14 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