+ Reply to Thread
Results 1 to 2 of 2

Thread: Highlight cell the changes in excel

  1. #1
    Forum Contributor
    Join Date
    03-28-2008
    Posts
    161

    Highlight cell the changes in excel

    Hi,

    Is there a way to hightlight or change the cell colour if values on that cell is changed?

    apply this condition for the whole worksheet, if any values is changed after the last save, change the color of the cell

    I know we can do this by using track changes but this forces the user to shared the workbook?

    Thanks and regards
    Arvind

  2. #2
    Forum Guru Domski's Avatar
    Join Date
    12-14-2009
    MS-Off Ver
    What does it matter?
    Posts
    3,933

    Re: Highlight cell the changes in excel

    You can use something like this.

    Private Sub Worksheet_Change(ByVal Target As Range)
    
    Target.Interior.ColorIndex = 3
    
    End Sub

    The code needs to sit on the worksheet's code page. Right click on the sheet tab and select view code.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

+ 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.2.0