Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell value change to trigger macro (worksheet change event?) | Excel Programming | |||
Worksheet Change Event | Excel Programming | |||
Worksheet Change event | Excel Programming | |||
Change Cell from Validated List Not Firing Worksheet Change Event | Excel Programming |