ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how can I format to show different colour after edit (https://www.excelbanter.com/excel-discussion-misc-queries/26405-how-can-i-format-show-different-colour-after-edit.html)

Ismail

how can I format to show different colour after edit
 
I am using Excel 2003
I want to highlight either change the font colour or cell colour after I
edit a cell in a work sheet

Mangesh Yadav

enter the following code in the module of the sheet in question. The cells
are colored green after you edit them.

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


- Mangesh



"Ismail" wrote in message
...
I am using Excel 2003
I want to highlight either change the font colour or cell colour after I
edit a cell in a work sheet




Gary

how can I format to show different colour after edit
 
Is there a way to put htis into a macro so I can enter this into the sheet
automatically each time I am emailed a new version of the workbook?

Thanks.


"Mangesh Yadav" wrote:

enter the following code in the module of the sheet in question. The cells
are colored green after you edit them.

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


- Mangesh



"Ismail" wrote in message
...
I am using Excel 2003
I want to highlight either change the font colour or cell colour after I
edit a cell in a work sheet






All times are GMT +1. The time now is 05:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com