Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Excel Worksheet Change Event

How do I create a micro in Excel to turn all cells in a workbook to a a
different color when any changes have been made to each? So, I need a
formula such that any change to a cell makes the color of the cell
change to a designated color. Please be detailed, I am new at Excel.
Thank you!

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default Excel Worksheet Change Event

Hi,

the color of the cell depends on the value of the cell or on the event
of change of value?

If the color depends on the value, use conditional formatting.

If the color depends on the change of the value, use Worksheet_Change
event.

Let me know and I will give you more details...

Regards,
Ivan

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Excel Worksheet Change Event

Ivan,

Thank you so much for responding so quickly.

The color depends on the change of the value, ie. "use Worksheet_Change

event" then. If any change at all is made to a cell I need o see the
cell colored to identify a change has been made.

Are you able to explain excatly how I would make a "Worksheet_Change
event" to make this happen on my spreadsheet?

Thank you again.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Excel Worksheet Change Event

Ivan,

Thank you so much for responding so quickly.

The color depends on the change of the value, ie. "use Worksheet_Change

event" then. If any change at all is made to a cell I need o see the
cell colored to identify a change has been made.

Are you able to explain excatly how I would make a "Worksheet_Change
event" to make this happen on my spreadsheet?

Thank you again.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default Excel Worksheet Change Event

Hi,

sorry for responding that late, I had to leave the office earlier
yesterday.

Paste following code into worksheet code module (if you want to see
changes in worksheet MySheet, then paste it into this module):

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

You may change the colorindex (now the value is 6), if yellow is not
your favourite color.

Regards,
Ivan

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell value change to trigger macro (worksheet change event?) Neil Goldwasser Excel Programming 4 January 10th 06 01:55 PM
Worksheet Change Event blatham[_5_] Excel Programming 7 November 10th 05 04:45 PM
Worksheet Change event Libby Excel Programming 2 October 26th 04 12:02 AM
Change Cell from Validated List Not Firing Worksheet Change Event [email protected] Excel Programming 3 October 4th 04 03:00 AM


All times are GMT +1. The time now is 01:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"