Closed Thread
Results 1 to 3 of 3

macro to compare time between two cells if time matches output in third cell

  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    jaipur
    MS-Off Ver
    Excel 2007
    Posts
    50

    macro to compare time between two cells if time matches output in third cell

    hi all i need a macro which will compare specified time in one cell with anathor cells if time matches output will be 3rd celll adjucent gets green in color else red if not matched

    suppose cell a1 has time 15:30 and cell b1 has 15:33 , it not matches output will be in cell c1 color red

    please help me !!!!!!!!!!!!!!!

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,705

    Re: macro to compare time between two cells if time matches output in third cell

    Why do you need a macro to do this? Conditional formatting will do it for you.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: macro to compare time between two cells if time matches output in third cell

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed 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