Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-19-2012, 03:48 AM
LongTTH LongTTH is offline Detect a cell has un-approved change or not? Windows XP Detect a cell has un-approved change or not? Office 2010 (Version 14.0)
Novice
Detect a cell has un-approved change or not?
 
Join Date: Dec 2010
Posts: 3
LongTTH is on a distinguished road
Default Detect a cell has un-approved change or not?

Hi all,


I'm finding some way to do "highlight anything change with red color"
my thought is :
Code:
loop through all cell in this active sheet
  if (cell has unapproved change) then
      set text color = red
  else 
      set text color = normal;
next cell
My current code is :
Code:
Sub HighlightCellWithUnApproveddChanges()
    Dim rwIndex As Integer
    Dim colIndex As Integer
    For rwIndex = 1 To 10
            For colIndex = 1 To 5
                If Cells(rwIndex, colIndex).XlCellChangeState = XlCellChangeState.xlCellChanged Then _
                    Cells(rwIndex, colIndex).Interior.ColorIndex = 36
            Next colIndex
    Next rwIndex
End Sub
any help are appreciated!
thanks
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect a cell has un-approved change or not? how to change number in cell ubns Excel 5 05-14-2012 04:21 PM
Change cell color everytime a value is selected in dropdown list angelica_gloria Excel 4 01-27-2012 06:47 PM
Automatically change the value of one cell so that two other cells become equal matthew544 Excel 5 09-18-2011 08:56 AM
CHange colour of footer if a cell changes to red OTPM Excel 0 05-26-2011 07:15 AM
Detect a cell has un-approved change or not? Is there a way to detect duplicate dates as I enter them? Karin Excel 1 03-04-2011 12:56 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:09 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft