Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am wanting to insert a comment with the current date when I change a cell value within a Range of cells. Thanks in advance! Thanks, Aaron |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Aaron,
You can use the worksheet's change event. Copy the code below, right click on the sheet tab, select "View code", then paste in the window that appears. Change the range from A1:C10 to match your desired range. HTH, Bernie MS Excel MVP Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Target, Range("A1:C10")) Is Nothing Then Target.AddComment CStr(Date) End If End Sub "Aaron" wrote in message ... Hi, I am wanting to insert a comment with the current date when I change a cell value within a Range of cells. Thanks in advance! Thanks, Aaron |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert Comment | Excel Discussion (Misc queries) | |||
Insert Comment | Excel Discussion (Misc queries) | |||
Insert Comment | Excel Discussion (Misc queries) | |||
insert comment | Charts and Charting in Excel | |||
How do I insert a comment when the Insert:Comment menu is greyed? | Excel Discussion (Misc queries) |