+ Reply to Thread
Results 1 to 5 of 5

Comparing of Columns with VBA code

  1. #1
    Registered User
    Join Date
    04-30-2018
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    33

    Comparing of Columns with VBA code

    Hello to all

    It is part of Excel sheet
    I want to highlight blank cells in A & B columns if column E value
    greater than zero, if found the cells in A & B to be highlighted
    with help of vba code. The Last row
    would be A19.
    Whether this can be achieved.
    Sample file attached
    Please help

    Thank you
    Shiva
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,419

    Re: Comparing of Columns with VBA code

    Why do you need VBA for that? You could use Conditional Formatting.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    04-30-2018
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    33

    Re: Comparing of Columns with VBA code

    based on blank cell another code runs in program

  4. #4
    Registered User
    Join Date
    07-21-2019
    Location
    Italy
    MS-Off Ver
    2016
    Posts
    58

    Re: Comparing of Columns with VBA code

    Hello,
    with vba:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-30-2018
    Location
    INDIA
    MS-Off Ver
    2013
    Posts
    33

    Re: Comparing of Columns with VBA code

    Thank you MrGes, its working perfectly

+ 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. Comparing multiple columns of code by row to 3 standards
    By Yoloswagsloth in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2019, 08:21 AM
  2. Replies: 4
    Last Post: 04-25-2019, 05:28 AM
  3. Need Vba Code to find Same Text comparing two columns
    By Alija_21 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-22-2016, 09:02 AM
  4. [SOLVED] Give common code comparing columns and rows
    By saravanan1981 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-12-2016, 04:47 AM
  5. Replies: 3
    Last Post: 04-23-2014, 05:14 PM
  6. Replies: 2
    Last Post: 04-18-2013, 02:03 PM
  7. [SOLVED] IF AND or SUMIFS comparing Months from 2 date columns and text from 2 other columns
    By jrochet in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-22-2012, 11:06 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