Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
vezerid
 
Posts: n/a
Default Can it be done?

I believe this is what you want:

Private Sub Worksheet_Change(ByVal Target As Range)
Dim c As Range
Target.Interior.ColorIndex = 3
For Each c In Target.Dependents
c.Interior.ColorIndex = 3
Next c
End Sub

This is an event procedure, it fires whenever there is a change in a
cell manually. It examines which cells are dependent on the cell just
changed and highlights them as well.

To install and test:
In the sheet where you do your data changes, right-click on the sheet
tab and choose View Code.
In the VBA IDE paste the above code.

Is this what you need?

Kostis Vezerides

 
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



All times are GMT +1. The time now is 05:28 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"