PC Review


Reply
Thread Tools Rate Thread

Changing text colors for editing

 
 
Jalynno
Guest
Posts: n/a
 
      15th Aug 2008
If I have a previously saved worksheet that was saved with black text/font
and I want to keep track of cells I have edited and ones I need to edit by
having the ones I edit change to red, how can this be done without formatting
the cells as I go along or clicking the text color shortcut button for each
cell.

Thanks.
 
Reply With Quote
 
 
 
 
Gord Dibben
Guest
Posts: n/a
 
      16th Aug 2008
Private Sub WorkSheet_Change(ByVal Target As Range)
If Target.Cells.Count > 1 Or IsEmpty(Target) Then Exit Sub
On Error GoTo ws_exit:
Application.EnableEvents = False
With Target
.Interior.ColorIndex = 3
End With
ws_exit:
Application.EnableEvents = True
End Sub

This is sheet event code. Right-click on the sheet tab and "View Code"

Copy/paste into that sheet module.

Alt + q to return to the Excel window.

When you edit a cell or enter data in a previously blank cell, background of
cell will turn red.


Gord Dibben MS Excel MVP

On Fri, 15 Aug 2008 14:30:04 -0700, Jalynno
<(E-Mail Removed)> wrote:

>If I have a previously saved worksheet that was saved with black text/font
>and I want to keep track of cells I have edited and ones I need to edit by
>having the ones I edit change to red, how can this be done without formatting
>the cells as I go along or clicking the text color shortcut button for each
>cell.
>
>Thanks.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing text box colors =?Utf-8?B?QW50bmV5?= Microsoft Access VBA Modules 3 22nd Apr 2007 11:47 AM
need help changing colors of text box photogman Microsoft Access Form Coding 6 11th Sep 2004 08:39 PM
Changing colors of text with functions =?Utf-8?B?c2FtdWVs?= Microsoft Excel Worksheet Functions 1 14th Jun 2004 08:54 PM
Changing colors for Text Box - can't figure it out J Nachbar Microsoft Access Reports 1 5th Feb 2004 11:25 AM
Changing colors of a Text Box with VBA Allen Microsoft Access Form Coding 1 2nd Dec 2003 12:16 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:49 AM.