+ Reply to Thread
Results 1 to 4 of 4

VBA for Conditional Formatting - apply a colour based on conditions in each column.

  1. #1
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Smile VBA for Conditional Formatting - apply a colour based on conditions in each column.

    Dear Friends,

    I have a table - named "mytable". I need to apply conditional formatting on TWO occasions through VBA:

    1) Apply a color (green) in entire column - if there is no value or if there not more than ZERO value.
    2) Apply a color (yellow) in entire column - if any formula is applied.

    Kindly help me...
    Good friends are hard to find, harder to leave, and impossible to forget.

    acsishere.

  2. #2
    Valued Forum Contributor
    Join Date
    06-17-2009
    Location
    Chennai,India
    MS-Off Ver
    Excel 2003,excel 2007
    Posts
    678

    Re: VBA for Conditional Formatting - apply a colour based on conditions in each column.

    see saple file attached also containing the macro "testg"
    run the macro once and again another time

    Please Login or Register  to view this content.
    Attached Files Attached Files
    I am not an expert. better solutions may be available
    [email protected]

  3. #3
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Smile Re: VBA for Conditional Formatting - apply a colour based on conditions in each column.

    Dear Friend,

    The concept is achieved. However, the vba applies to each row, that too to entire row (i.e. to all values).

    I need to make conditional formatting for each column, as mentioned in the sample file.

    Request kind help.

    acsishere.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    04-15-2008
    Location
    Tamil Nadu, India.
    MS-Off Ver
    Microsoft Office 2016
    Posts
    582

    Re: VBA for Conditional Formatting - apply a colour based on conditions in each column.

    Any help would be highly appreciated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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